Added blank colorOptionsPane in preferences
This commit is contained in:
parent
c85fe63ed8
commit
c28824b147
@ -249,6 +249,7 @@ pref.dlg.but.defaultmetric = Default metric
|
|||||||
pref.dlg.but.defaultimperial = Default imperial
|
pref.dlg.but.defaultimperial = Default imperial
|
||||||
pref.dlg.title.Preferences = Preferences
|
pref.dlg.title.Preferences = Preferences
|
||||||
pref.dlg.tab.Units = Units
|
pref.dlg.tab.Units = Units
|
||||||
|
pref.dlg.tab.Colors = Colors
|
||||||
pref.dlg.tab.Defaultunits = Default units
|
pref.dlg.tab.Defaultunits = Default units
|
||||||
pref.dlg.tab.Materials = Materials
|
pref.dlg.tab.Materials = Materials
|
||||||
pref.dlg.tab.Custommaterials = Custom materials
|
pref.dlg.tab.Custommaterials = Custom materials
|
||||||
|
@ -98,6 +98,8 @@ public class PreferencesDialog extends JDialog {
|
|||||||
//// Decal Editor selection
|
//// Decal Editor selection
|
||||||
tabbedPane.addTab(trans.get("pref.dlg.tab.Graphics"), graphicsOptionsPane());
|
tabbedPane.addTab(trans.get("pref.dlg.tab.Graphics"), graphicsOptionsPane());
|
||||||
|
|
||||||
|
//// Default Colors Preferences
|
||||||
|
tabbedPane.addTab(trans.get("pref.dlg.tab.Colors"), colorOptionsPane());
|
||||||
//// Close button
|
//// Close button
|
||||||
JButton close = new JButton(trans.get("dlg.but.close"));
|
JButton close = new JButton(trans.get("dlg.but.close"));
|
||||||
close.addActionListener(new ActionListener() {
|
close.addActionListener(new ActionListener() {
|
||||||
@ -123,6 +125,9 @@ public class PreferencesDialog extends JDialog {
|
|||||||
GUIUtil.setDisposableDialogOptions(this, close);
|
GUIUtil.setDisposableDialogOptions(this, close);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private JPanel colorOptionsPane(){
|
||||||
|
return new JPanel(new MigLayout("fillx, ins 301p n n n"));
|
||||||
|
}
|
||||||
|
|
||||||
private JPanel optionsPane() {
|
private JPanel optionsPane() {
|
||||||
JPanel panel = new JPanel(new MigLayout("fillx, ins 30lp n n n"));
|
JPanel panel = new JPanel(new MigLayout("fillx, ins 30lp n n n"));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user