|Size constraints in a PartSashContainer [message #744836]
||Sat, 22 October 2011 11:26
| Karl Weber
Registered: September 2010
As far as I know, one can put integer numbers in the field Container Data of the children of a PartSashContainer. They determine the relative size a child gets of the size of the parent PartSashContainer.|
Now I would like to set an absolute size of one child, or a maximum size. The other children should take the remainder of the space. How can one do this?
If this is not implemented in the model yet, is there a workaround for the SWT renderer?
There seems to be another problem even with relative sizes: One can set the relativ size of one child to 5%. If the application is started, the child gets this 5%, even if the window is maximized. However, if one tries to change the size with the sash, the size of the child jumps to 10% (estimate!). Afterward one cannot set the size of the child below this (estimated) 10%; above that limit, one can change its size at will (well up to 90% at the upper end).
Maybe my approach is wrong: I would like to use a status line in my application. Since this is not present in e4 4.1.1 (I do not use the compatibility mode), I wanted to use an MPart for my own implementation of a status line. Is there a better approach to a status line?
[Updated on: Sat, 22 October 2011 12:26]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.03160 seconds