Skip to content

Commit 0b44c4a

Browse files
Make sure if we get too many tabs it is visibly manageable.
1 parent 1073a92 commit 0b44c4a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src-gui/java/pt/lsts/imc/gui/ImcStatePanel.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ public class ImcStatePanel extends JPanel {
6868
protected JList<String> messagesList;
6969
protected JPanel mainPanel = new JPanel();
7070
protected ImcSystemState state;
71-
protected JTabbedPane tabs = new JTabbedPane();
71+
protected JTabbedPane tabs = new JTabbedPane(JTabbedPane.TOP, JTabbedPane.SCROLL_TAB_LAYOUT);
7272
protected IMCMessage lastMsg = null;
7373
protected Timer timer = null;
7474
protected StateListModel stateListModel = null;

0 commit comments

Comments
 (0)