mirror of
https://github.com/processing/processing4.git
synced 2026-02-13 10:30:44 +01:00
fix width of prefs button, also set icon image
This commit is contained in:
@@ -74,9 +74,9 @@ public class Preferences {
|
||||
|
||||
/**
|
||||
* Standardized width for buttons. Mac OS X 10.3 wants 70 as its default,
|
||||
* Windows XP needs 66, and Linux needs 76, so 76 seems proper.
|
||||
* Windows XP needs 66, and my Ubuntu machine needs 80+, so 80 seems proper.
|
||||
*/
|
||||
static public int BUTTON_WIDTH = 76;
|
||||
static public int BUTTON_WIDTH = 80;
|
||||
|
||||
/**
|
||||
* Standardized button height. Mac OS X 10.3 (Java 1.4) wants 29,
|
||||
@@ -431,6 +431,7 @@ public class Preferences {
|
||||
}
|
||||
};
|
||||
Base.registerWindowCloseKeys(dialog.getRootPane(), disposer);
|
||||
Base.setIcon(dialog);
|
||||
|
||||
Dimension screen = Toolkit.getDefaultToolkit().getScreenSize();
|
||||
dialog.setLocation((screen.width - wide) / 2,
|
||||
|
||||
5
todo.txt
5
todo.txt
@@ -14,8 +14,9 @@ X fix problem with export.txt files not working
|
||||
X http://dev.processing.org/bugs/show_bug.cgi?id=625
|
||||
X readStringUntil broken in net library
|
||||
X http://dev.processing.org/bugs/show_bug.cgi?id=606
|
||||
X add imageicon for the find dialog (and others?)
|
||||
_ http://dev.processing.org/bugs/show_bug.cgi?id=627
|
||||
X add imageicon for the find dialog
|
||||
X also the tools menu items and preferences
|
||||
X http://dev.processing.org/bugs/show_bug.cgi?id=627
|
||||
|
||||
book stuff
|
||||
_ on linux, drag and drop didn't accept
|
||||
|
||||
Reference in New Issue
Block a user