Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
460
AutoResize components of a WinGridBagLayoutPanel
posted

Hi,

I'm currently encounterring a little problem with UltraGridBagLayoutPanel.

I have set my GridBagLayoutPanel with AutoScroll Off and AutoSize False. I have for controls in this panel, and three of them are UserControls.

I've tried every property I found dealing with Sizing and Scrollable, but no way to make inner controls scrollable when their size is too small after downsizing the whole form.

I would like the elements of the panel to be scrollable when I downsize the form.

My usercontrols are set on AutoSize False, AutoScroll True ...

 

Please help !

Parents Reply
  • 460
    posted in reply to Mike Saltzman

    I think there definitely something I don't understand !

    Here is my application:

    And the free space under the ribbon is filled with a GridBagLayoutPanel.

    Each GroupBox is a UserControl, except the CreateAccount Button.

    The application, as it is displayed here, is in its normal size, there is nothing to notice.

    Below is an example when I make the form shorter:

    Here you can obviously see that my GroupBoxes (user control finally) are overlapping. I would like scrollbars to appear in each in order to keep displaying the entire information.

    Or maybe this much more simple to prevent user from down-sizing under a certain size?

    Thank you for your time anyway.

    PS: When I downsize more again, event the ribbon is hidden by the panel..

    Pierre

Children