adjust divider, add example config
This commit is contained in:
parent
5c4d25a846
commit
e827946654
2 changed files with 10 additions and 1 deletions
7
config.json.example
Normal file
7
config.json.example
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"frame": {
|
||||
"width": 1366,
|
||||
"height": 1024,
|
||||
"fullscreen": false
|
||||
}
|
||||
}
|
||||
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue