|
Quick Lists
|
|
Bug ID:
|
4199085
|
|
Votes
|
1
|
|
Synopsis
|
JButtons are too tall and too narrow in Windows look and feel.
|
|
Category
|
java:classes_swing
|
|
Reported Against
|
1.2fcs
|
|
Release Fixed
|
|
|
State
|
11-Closed,
Not Reproducible,
bug
|
|
Priority:
|
4-Low
|
|
Related Bugs
|
4200358
|
|
Submit Date
|
22-DEC-1998
|
|
Description
|
A button with the default system font in Windows is 23 pixels tall including its border. The corresponding JButton is much taller, giving it a
non-native appearance. While the exact definition for the standard button height is "14 dialog units" where a dialog unit is 1/8 of the average
height of a character in the current font, a close approximation with less padding would be sufficient.
(Review ID: 48573)
======================================================================
|
|
Work Around
|
N/A
|
|
Evaluation
|
The default button margin for BasicLookAndFeel.java
is set to the value Insets(2,14,2,14) and this causes the
button become too large
xxxxx@xxxxx
======================================================================
We won't fix it for the Win95 L&F,
but it will be done when we do the Win98 L&F.
xxxxx@xxxxx
======================================================================
The bug is no longer reproducible since build 66
The height of WinLAF's JButton is proper now.
xxxxx@xxxxx
======================================================================
|
|
Comments
|
PLEASE NOTE: JDK6 is formerly known as Project Mustang
|
|
|
 |