Skip to content

Commit ddf6036

Browse files
committed
Toolbar can now go full width on 4K display
Fix #5341
1 parent cbbac9d commit ddf6036

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Diff for: app/src/processing/app/EditorHeader.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -351,7 +351,7 @@ public Dimension getMinimumSize() {
351351

352352

353353
public Dimension getMaximumSize() {
354-
Dimension size = scale(new Dimension(3000, GRID_SIZE));
354+
Dimension size = scale(new Dimension(30000, GRID_SIZE));
355355
if (OSUtils.isMacOS())
356356
size.height--;
357357
return size;

Diff for: app/src/processing/app/EditorToolbar.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -450,7 +450,7 @@ public Dimension getMinimumSize() {
450450

451451

452452
public Dimension getMaximumSize() {
453-
return new Dimension(scale(3000), BUTTON_HEIGHT);
453+
return new Dimension(scale(30000), BUTTON_HEIGHT);
454454
}
455455

456456
public boolean dispatchKeyEvent(final KeyEvent e) {

0 commit comments

Comments
 (0)