Skip to content

Commit

Permalink
Tweaked setting of minimum size.
Browse files Browse the repository at this point in the history
  • Loading branch information
zathras committed Mar 23, 2018
1 parent 117922e commit f43d93b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/com/emmetgray/wrpn/fmMain.java
Expand Up @@ -273,7 +273,6 @@ private void initComponents() {
mHelpAbout = new javax.swing.JMenuItem();

setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
setMinimumSize(new java.awt.Dimension(CALC_WIDTH, CALC_HEIGHT));
addWindowListener(new java.awt.event.WindowAdapter() {
public void windowClosing(java.awt.event.WindowEvent evt) {
formWindowClosing(evt);
Expand All @@ -286,7 +285,6 @@ public void componentResized(java.awt.event.ComponentEvent evt) {
});

jLayeredPane1.setDoubleBuffered(true);
jLayeredPane1.setMinimumSize(new java.awt.Dimension(512, 320));

tbDisplay.setEditable(false);
tbDisplay.setFont(new java.awt.Font("Lucidia Sans Typewriter", 1, 12)); // NOI18N
Expand Down Expand Up @@ -1244,6 +1242,7 @@ public void actionPerformed(java.awt.event.ActionEvent evt) {

pack();
setFonts();
setMinimumSize(getSize());
}

// move and resize the controls to match the new size of the form
Expand Down

0 comments on commit f43d93b

Please sign in to comment.