configPanel: fix enum box not displaying correctly
configPanel: fix enum box not displaying correctly
This commit is contained in:
@@ -945,7 +945,7 @@ class ConfigPanel extends PluginPanel
|
|||||||
box.setToolTipText(Text.titleCase((Enum) box.getSelectedItem()));
|
box.setToolTipText(Text.titleCase((Enum) box.getSelectedItem()));
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
item.add(box, BorderLayout.EAST);
|
item.add(box, BorderLayout.CENTER);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (cid.getType() == Keybind.class || cid.getType() == ModifierlessKeybind.class)
|
if (cid.getType() == Keybind.class || cid.getType() == ModifierlessKeybind.class)
|
||||||
@@ -1273,4 +1273,4 @@ class ConfigPanel extends PluginPanel
|
|||||||
{
|
{
|
||||||
return "<html><body style = 'color:#a5a5a5'>" + key + ": <span style = 'color:white'>" + value + "</span></body></html>";
|
return "<html><body style = 'color:#a5a5a5'>" + key + ": <span style = 'color:white'>" + value + "</span></body></html>";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user