Skip to content

Commit 6ab18ea

Browse files
committed
Lowering minimum editor heights for netbooks
http://code.google.com/p/arduino/issues/detail?id=52
1 parent cb8e184 commit 6ab18ea

File tree

2 files changed

+11
-4
lines changed

2 files changed

+11
-4
lines changed

app/src/processing/app/Editor.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,9 @@ public void windowDeactivated(WindowEvent e) {
264264
splitPane.setDividerSize(dividerSize);
265265
}
266266

267-
splitPane.setMinimumSize(new Dimension(600, 400));
267+
// the following changed from 600, 400 for netbooks
268+
// http://code.google.com/p/arduino/issues/detail?id=52
269+
splitPane.setMinimumSize(new Dimension(600, 100));
268270
box.add(splitPane);
269271

270272
// hopefully these are no longer needed w/ swing

build/shared/lib/preferences.txt

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,11 +76,16 @@ editor.window.width.default = 500
7676
editor.window.height.default = 600
7777

7878
editor.window.width.min = 400
79-
editor.window.height.min = 500
79+
editor.window.height.min = 290
80+
81+
# the following commented out to better support netbooks
82+
# http://code.google.com/p/arduino/issues/detail?id=52
83+
#editor.window.height.min = 500
8084
# tested as approx 440 on OS X
81-
editor.window.height.min.macosx = 450
85+
#editor.window.height.min.macosx = 450
8286
# tested to be 515 on Windows XP, this leaves some room
83-
editor.window.height.min.windows = 530
87+
#editor.window.height.min.windows = 530
88+
8489

8590
# font size for editor
8691
editor.font=Monospaced,plain,12

0 commit comments

Comments
 (0)