|Re: group composite [message #463333 is a reply to message #463234]
||Thu, 03 November 2005 12:44
Registered: July 2009
Peter Osipov wrote:|
> Hi, everybody!
> Is there a way to keep the shape of group being square after resizing?
> thanks a a lot in advance.
If you mean to set a field of Group, GridData or GridLayout that directly
does that, I don't know any.
But you can do it by yourself: you can add a resizeListener and give
appropriate values to the "heightHint" and "widthHint" fields of the
group's GridData (I assume your group is inside a layout) whenever a
resize event occurs.
Powered by FUDForum
. Page generated in 0.02463 seconds