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
1425
Setting width for ContentPanes placed vertically in SplitPane
posted

Hi,

We cannot use relative size with vertically placed contentpanes. How can we set width of ContentPanes placed vertically in SplitPane?

 

Thanks,

Imad.

Parents
No Data
Reply
  • 54937
    Offline posted

    RelativeSize is used to distribute the available size in the direction of the orientation (e.g. the Height of the RelativeSizes are compared when the panes are arranged vertically). The size of the content(s) or the extent of the root splitpane will drive the other extent. So for example if the root docked SplitPane is docked to the left/right then the Width would determine the extent. When the Width is NaN (which is the default) then panes are measured with the available size and so the size of the content affects the size they will be.

Children