Edit
menu optionsApply
button is pressed for a component this
menu option is enabled. Selecting undo will then bring back the GridBagConstraints
values that were set for that component prior to pressing Apply
.
If the undo
is applied a second time it undo's the undo. If another
component is now selected the undo option is disabled until a change is made to that
new components constraints.
If the "chained undo" option is switched on via the Settings menu
then each time the Apply
button is pushed for a component, GridBagger will track all the
GridBagConstraint changes made. Selecting undo
will then bring back the previous constraints
for the component. Repeating undo will move back through the chain of changes until there are none left.
weightx
and weighty
to have values of 1, then this is the
way to do it. To revert back to using the GridBagConstraints
class default, invoke the next menu option which is "Reset default constraints".