We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

GridBagLayout lays out components beyond Form

Thread ID:

Created:

Updated:

Platform:

Replies:

41839 Mar 13,2006 11:23 AM Mar 14,2006 07:44 AM Windows Forms 1
loading
Tags: Tools
Prasant
Asked On March 13, 2006 11:23 AM

I am implementing a nested gridbaglayout (a form laid out by GridBaglayout, with a panel laid out by GridBagLayout as well), and it seems that it is laying the panel out beyond the bounds of my form. You CANNOT change the size of panels laid out by any of the layout managers. So I have this Form1******************** * | * | * | * | * P1 | P2by GBLayout * | * | * | * | * | * | * | ************************* | | | -------------------- so Form1 has a GridBagLayout, and my subPanel has gridBagLayout. I have everything set to DockType.Fill.

Administrator [Syncfusion]
Replied On March 14, 2006 07:44 AM

Hi Prasant, Sorry for the inconvenience caused. I am afraid, I was not able to reproduce this issue. Could you please let me whether you have set the following constraints for the panel (Fill ->Both and equal weights - WeightX and WeightY as 0.5). Could you please provide more information regarding your problem. Also, please send us a sample which reproduces the issue or modify the sample attached. GridBag.zip Thanks for your patience. Thanks for using Syncfusion products. Best Regards, Seetha

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;