mirror of
https://github.com/processing/processing4.git
synced 2026-06-16 04:26:26 +02:00
tweaking new layout for windows
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -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) {
|
||||
|
||||
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user