This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 243896 - "Different Values" property editor checkbox misaligned/not properly disabled
Summary: "Different Values" property editor checkbox misaligned/not properly disabled
Status: RESOLVED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Property Editors (show other bugs)
Version: 8.0
Hardware: PC Windows 7 x64
: P3 normal with 1 vote (vote)
Assignee: Stanislav Aubrecht
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-04-17 19:05 UTC by ebakke
Modified: 2014-04-20 15:38 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Screenshot from Windows showing an incorrectly rendered "multiple values" checkbox in the property sheet. (11.77 KB, image/png)
2014-04-17 19:05 UTC, ebakke
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ebakke 2014-04-17 19:05:29 UTC
Created attachment 146811 [details]
Screenshot from Windows showing an incorrectly rendered "multiple values" checkbox in the property sheet.

A while back I filed a bug about checkboxes in property editors not being properly aligned with other checkboxes when in the "multiple values" state, on MacOS ( https://netbeans.org/bugzilla/show_bug.cgi?id=241399 ).

As it turns out, the bug also appears on Windows--see the attached screenshot. So the fix for 241399 can probably just be applied in the Windows L&F case as well. 

(In fact, I'm not sure I understand the function of the "setBorder(BorderFactory.createEmptyBorder(0, 0, 0, 0));" line in Boolean3WayEditor in the first place).

Another issue is that on both Windows and MacOS, the "multiple value" checkboxes are not properly grayed out as they should be when the property in question is not editable. I can file a separate issue about this if desired.
Comment 1 Stanislav Aubrecht 2014-04-18 12:31:30 UTC
core-main 95ccb840d719
Comment 2 Quality Engineering 2014-04-20 01:24:09 UTC
Integrated into 'main-silver', will be available in build *201404200001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/95ccb840d719
User: S. Aubrecht <saubrecht@netbeans.org>
Log: #243896 - wrong insets for 3-way boolean editor
Comment 3 ebakke 2014-04-20 15:38:36 UTC
Thanks!