tweaking new layout for windows

This commit is contained in:
benfry
2002-11-19 22:53:51 +00:00
parent ba7436329b
commit 444058af46
3 changed files with 19 additions and 6 deletions
+8 -3
View File
@@ -340,9 +340,14 @@ public class PdeEditorConsole extends Component {
//}
}
public Dimension getMinimumSize() {
return getPreferredSize();
}
public Dimension getMinimumSize() {
return getPreferredSize();
}
public Dimension getMaximumSize() {
Dimension pref = getPreferredSize();
return new Dimension(3000, pref.width);
}
}
+4
View File
@@ -211,6 +211,10 @@ public class PdeEditorHeader extends Panel /* implements ActionListener*/ {
return new Dimension(300, PdeEditor.GRID_SIZE);
}
public Dimension getMaximumSize() {
return new Dimension(3000, PdeEditor.GRID_SIZE);
}
/*
public void actionPerformed(ActionEvent e) {
+7 -3
View File
@@ -369,12 +369,16 @@ public class PdeEditorStatus extends Panel
public Dimension getPreferredSize() {
return getMinimumSize();
}
public Dimension getMinimumSize() {
return new Dimension(300, PdeEditor.GRID_SIZE);
}
public Dimension getMinimumSize() {
return getPreferredSize();
}
public Dimension getMaximumSize() {
return new Dimension(3000, PdeEditor.GRID_SIZE);
}
public void actionPerformed(ActionEvent e) {