set proper log panel divider location

This commit is contained in:
mykola2312 2024-04-19 13:31:58 +03:00
parent f85c71799f
commit 685e71bae5

View file

@ -105,9 +105,6 @@ public class MenuPanel extends JPanel {
channelList.ensureIndexIsVisible(channelIndex); channelList.ensureIndexIsVisible(channelIndex);
} }
} }
// TODO: delete this
Logger.getLogger(MenuPanel.class).info(action);
} }
public MenuPanel(Font font) { public MenuPanel(Font font) {
@ -125,7 +122,7 @@ public class MenuPanel extends JPanel {
final JSplitPane vsp = new JSplitPane(JSplitPane.VERTICAL_SPLIT, logPanel, hsp); final JSplitPane vsp = new JSplitPane(JSplitPane.VERTICAL_SPLIT, logPanel, hsp);
vsp.setDividerSize(2); vsp.setDividerSize(2);
vsp.setContinuousLayout(true); vsp.setContinuousLayout(true);
vsp.setDividerLocation(0.10); vsp.setDividerLocation(50);
add(vsp); add(vsp);
String[] items = new String[128]; String[] items = new String[128];