Add a SWT.Resize listener and intercept the resize event. Then, you can set the size to whatever you want (square, rectangle, well...that's about it) :-)
> 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.