diff --git a/src/com/jpexs/decompiler/flash/easygui/TabSwitcher.java b/src/com/jpexs/decompiler/flash/easygui/TabSwitcher.java index 3e9e9f013..4aeb92042 100644 --- a/src/com/jpexs/decompiler/flash/easygui/TabSwitcher.java +++ b/src/com/jpexs/decompiler/flash/easygui/TabSwitcher.java @@ -61,8 +61,8 @@ public class TabSwitcher extends JPanel { this.tabComponent = tabComponent; centralPanel = new JPanel(); centralPanel.setLayout(null); - centralPanel.add(tabbedPane); centralPanel.add(tabComponent); + centralPanel.add(tabbedPane); setLayout(new BorderLayout()); add(centralPanel, BorderLayout.CENTER); addComponentListener(new ComponentAdapter() { @@ -97,7 +97,8 @@ public class TabSwitcher extends JPanel { maxH = h; } } - tabbedPane.setBounds(0, 0, centralPanel.getWidth(), maxH); + maxH += 2; + tabbedPane.setBounds(0, 0, centralPanel.getWidth(), maxH + 10); tabComponent.setBounds(0, maxH, centralPanel.getWidth(), centralPanel.getHeight() - maxH); }