adjust divider, add example config

This commit is contained in:
mykola2312 2024-04-08 12:56:47 +03:00
parent 5c4d25a846
commit e827946654
2 changed files with 10 additions and 1 deletions

7
config.json.example Normal file
View file

@ -0,0 +1,7 @@
{
"frame": {
"width": 1366,
"height": 1024,
"fullscreen": false
}
}

View file

@ -12,11 +12,13 @@ public class MainFrame {
frame = new JFrame(I18n.get("MainFrame_Title"));
JPanel categoryPanel = new JPanel();
JPanel rightPanel = new JPanel();
JPanel rightPanel = new JPanel(new FlowLayout(FlowLayout.LEFT));
JPanel statusPanel = new JPanel();
JPanel channelPanel = new JPanel();
JSplitPane vsp = new JSplitPane(JSplitPane.VERTICAL_SPLIT, statusPanel, channelPanel);
vsp.setDividerSize(2);
vsp.setContinuousLayout(true);
rightPanel.add(vsp);
JSplitPane hsp = new JSplitPane(JSplitPane.HORIZONTAL_SPLIT, categoryPanel, rightPanel);