We've got enough of these in yohoho now that with some
text settings, you get two columns of tabs, which is...Bad. git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5819 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -66,11 +66,14 @@ public class ConfigEditorPanel extends JPanel
|
|||||||
// create our objects tabbed pane
|
// create our objects tabbed pane
|
||||||
add(_oeditors = new JTabbedPane(JTabbedPane.LEFT));
|
add(_oeditors = new JTabbedPane(JTabbedPane.LEFT));
|
||||||
|
|
||||||
|
// If they don't fit, make them scroll, since wrapped vertical tabs eats insane sceen space
|
||||||
|
_oeditors.setTabLayoutPolicy(JTabbedPane.SCROLL_TAB_LAYOUT);
|
||||||
|
|
||||||
// add a handy label at the bottom
|
// add a handy label at the bottom
|
||||||
add(new JLabel("Fields outline in red have been modified " +
|
add(new JLabel("Fields outline in red have been modified but not yet committed."),
|
||||||
"but not yet committed."), VGroupLayout.FIXED);
|
VGroupLayout.FIXED);
|
||||||
add(new JLabel("Press return in a modified field to commit " +
|
add(new JLabel("Press return in a modified field to commit the change."),
|
||||||
"the change."), VGroupLayout.FIXED);
|
VGroupLayout.FIXED);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
Reference in New Issue
Block a user