mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-06-17 11:51:54 +00:00
SetLabeFor for labels in Grid/Guides/Snapping dialogs.
This commit is contained in:
@@ -69,6 +69,7 @@ public class GuidesDialog extends AppDialog {
|
||||
centralPanel.add(colorLabel, c);
|
||||
|
||||
colorSelection = new ConfigurationColorSelection(Configuration.guidesColor, Configuration.guidesColor.get(), null);
|
||||
colorLabel.setLabelFor(colorSelection);
|
||||
c.gridx = 1;
|
||||
c.anchor = GridBagConstraints.LINE_START;
|
||||
centralPanel.add(colorSelection, c);
|
||||
@@ -101,6 +102,7 @@ public class GuidesDialog extends AppDialog {
|
||||
new AcurracyItem(GuidesSnapAccuracy.CAN_BE_DISTANT)
|
||||
}
|
||||
);
|
||||
snapAccuracyLabel.setLabelFor(snapAccuracyComboBox);
|
||||
|
||||
snapAccuracyComboBox.setSelectedItem(new AcurracyItem(Configuration.guidesSnapAccuracy.get()));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user