public class SizeGroup extends Object
HORIZONTAL) or their height request in common (
VERTICAL), or, in somewhat rarer circumstances, have both their width and height requests in common
BOTH). The size requested will be that of the Widget in the group that is the largest in that dimension.
When doing data entry across a large number of fields, it is a GNOME usability standard that the Entry boxes be common width and aligned vertically. While there are certainly cases where you have a good reason for doing otherwise, if you are filling in a form then using a SizeGroup can help you create a nice uniform appearance.
SizeGroups can be fantastically useful to create the "table" effect but across an uneven series of HBoxes nested in VBoxes with but with other things in between.
|Constructor and Description|
Instantiate a new SizeGroup, constraining per the
|Modifier and Type||Method and Description|
Specify a Widget to be constrained as a member of this SizeGroup.
Remove a Widget that was previously added to the SizeGroup.
public SizeGroup(SizeGroupMode mode)