Skip to content

Commit 217fe97

Browse files
committed
Late tweak. On Linux, somehow the primary window is not sized well/correctly. Discovered that if it is resizable, it does size well. (And if it doesn't, it can be resized!)
1 parent ce14be3 commit 217fe97

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/ac-swt-common/src/main/java/com/webcodepro/applecommander/ui/swt/SwtAppleCommander.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ protected Shell open(Display display) {
137137
}
138138
}
139139
}
140-
shell = new Shell(display, SWT.BORDER | SWT.CLOSE | SWT.MIN | SWT.TITLE);
140+
shell = new Shell(display, SWT.BORDER | SWT.CLOSE | SWT.MIN | SWT.TITLE | SWT.RESIZE);
141141
shell.setText(textBundle.get("SwtAppleCommander.AppleCommander")); //$NON-NLS-1$
142142
shell.setImage(imageManager.get(ImageManager.ICON_DISK));
143143
shell.addDisposeListener(new DisposeListener() {

0 commit comments

Comments
 (0)