fix width of prefs button, also set icon image

This commit is contained in:
benfry
2007-09-26 09:21:29 +00:00
parent 27a7a6cf53
commit d35ff9cc25
2 changed files with 6 additions and 4 deletions

View File

@@ -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,

View File

@@ -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