Try to fix main window size problems

cusax-fix
Yana Stamcheva 18 years ago
parent cb6bd83065
commit ff44f71e2e

@ -62,18 +62,21 @@ public class CallListPanel
public CallListPanel(MainFrame mainFrame)
{
super(new BorderLayout());
this.mainFrame = mainFrame;
this.callHistory = GuiActivator.getCallHistoryService();
this.searchComboBox.addActionListener(this);
new LoadLastCallsFromHistory().start();
this.initPanels();
this.initPluginComponents();
this.setPreferredSize(new Dimension(200, 450));
this.setMinimumSize(new Dimension(80, 200));
}
/**

@ -61,6 +61,9 @@ public ChatRoomsListPanel(MainFrame frame)
JComponent.WHEN_IN_FOCUSED_WINDOW);
imap.put(KeyStroke.getKeyStroke(KeyEvent.VK_ENTER, 0), "runChat");
this.setPreferredSize(new Dimension(200, 450));
this.setMinimumSize(new Dimension(80, 200));
}
/**

@ -75,7 +75,7 @@ public ContactListPanel(MainFrame mainFrame) {
this.getVerticalScrollBar().setUnitIncrement(30);
this.setPreferredSize(new Dimension(300, 600));
this.setPreferredSize(new Dimension(200, 450));
this.setMinimumSize(new Dimension(80, 200));
}

Loading…
Cancel
Save