Browse Source

Fixes issue 3679: Error list dialog needs a minimum size

Change-Id: I651bb4ec17d5cbd28830647e6c625bda1c355a9c
Reviewed-on: http://gerrit.dmdirc.com/740
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com>
Reviewed-by: Chris Smith <chris@dmdirc.com>
tags/0.6.3
Gregory Holmes 14 years ago
parent
commit
83d5f67576
1 changed files with 13 additions and 5 deletions
  1. 13
    5
      src/com/dmdirc/addons/ui_swing/dialogs/error/ErrorListDialog.java

+ 13
- 5
src/com/dmdirc/addons/ui_swing/dialogs/error/ErrorListDialog.java View File

76
     /** Row being deleted. */
76
     /** Row being deleted. */
77
     private boolean rowBeingDeleted = false;
77
     private boolean rowBeingDeleted = false;
78
 
78
 
79
-    /** 
80
-     * Creates a new instance of ErrorListDialog. 
81
-     * 
79
+    /**
80
+     * Creates a new instance of ErrorListDialog.
81
+     *
82
      * @param mainFrame Main frame
82
      * @param mainFrame Main frame
83
      */
83
      */
84
     public ErrorListDialog(final MainFrame mainFrame) {
84
     public ErrorListDialog(final MainFrame mainFrame) {
85
         super(mainFrame, ModalityType.MODELESS);
85
         super(mainFrame, ModalityType.MODELESS);
86
 
86
 
87
         setTitle("DMDirc: Error list");
87
         setTitle("DMDirc: Error list");
88
+        setMinimumSize(new Dimension(600, 550));
88
 
89
 
89
         tableModel = new ErrorTableModel();
90
         tableModel = new ErrorTableModel();
90
 
91
 
195
         }
196
         }
196
     }
197
     }
197
 
198
 
198
-    /** 
199
+    /**
199
      * {@inheritDoc}.
200
      * {@inheritDoc}.
200
-     * 
201
+     *
201
      * @param e Action event
202
      * @param e Action event
202
      */
203
      */
203
     @Override
204
     @Override
275
             deleteAllButton.setEnabled(false);
276
             deleteAllButton.setEnabled(false);
276
         }
277
         }
277
     }
278
     }
279
+
280
+    /** {@inheritDoc} */
281
+    @Override
282
+    public void display() {
283
+        super.display();
284
+        setSize(new Dimension(600, 550));
285
+    }
278
 }
286
 }

Loading…
Cancel
Save