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 |
---|
SizeGroup(SizeGroupMode mode)
Instantiate a new SizeGroup, constraining per the
mode
parameter. |
public SizeGroup(SizeGroupMode mode)
mode
parameter.