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

Summary: "Different Values" property editor checkbox misaligned/not properly disabled
Product: platform Reporter: ebakke
Component: Property EditorsAssignee: Stanislav Aubrecht <saubrecht>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P3    
Version: 8.0   
Hardware: PC   
OS: Windows 7 x64   
Issue Type: DEFECT Exception Reporter:
Attachments: Screenshot from Windows showing an incorrectly rendered "multiple values" checkbox in the property sheet.

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!