Standardized width for buttons. Mac OS X 10.3 wants 70 as its default, Windows XP needs 66, and my Ubuntu machine needs 80+, so 80 seems proper. This is now stored in the languages file since this may need to be larger for languages that are consistently wider than English.
()
| 113 | * for languages that are consistently wider than English. |
| 114 | */ |
| 115 | static public int getButtonWidth() { |
| 116 | // Made into a method so that calling Toolkit methods doesn't require |
| 117 | // the languages to be loaded, and with that, Base initialized completely |
| 118 | return zoom(Integer.parseInt(Language.text("preferences.button.width"))); |
| 119 | } |
| 120 | |
| 121 | |
| 122 | /** |
no test coverage detected