From d35ff9cc250b6963e775e207351cbbcc1ff819ea Mon Sep 17 00:00:00 2001 From: benfry Date: Wed, 26 Sep 2007 09:21:29 +0000 Subject: [PATCH] fix width of prefs button, also set icon image --- app/src/processing/app/Preferences.java | 5 +++-- todo.txt | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/app/src/processing/app/Preferences.java b/app/src/processing/app/Preferences.java index 9fffd3e8e..8493be20b 100644 --- a/app/src/processing/app/Preferences.java +++ b/app/src/processing/app/Preferences.java @@ -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, diff --git a/todo.txt b/todo.txt index 69100915a..5d0e18eed 100644 --- a/todo.txt +++ b/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