configPanel: fix enum box not displaying correctly

configPanel: fix enum box not displaying correctly
This commit is contained in:
Kyle
2020-07-26 23:48:56 +01:00
committed by GitHub
parent 30b7cd4468
commit 6fdf5d5c76

View File

@@ -945,7 +945,7 @@ class ConfigPanel extends PluginPanel
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)
@@ -1273,4 +1273,4 @@ class ConfigPanel extends PluginPanel
{
return "<html><body style = 'color:#a5a5a5'>" + key + ": <span style = 'color:white'>" + value + "</span></body></html>";
}
}
}