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.
Summary: | On Aqua, sub-tabs in "Output" tab have vertically off-center text and close buttons | ||
---|---|---|---|
Product: | platform | Reporter: | ebakke |
Component: | Window System | Assignee: | Stanislav Aubrecht <saubrecht> |
Status: | NEW --- | ||
Severity: | normal | ||
Priority: | P4 | ||
Version: | 8.0.2 | ||
Hardware: | PC | ||
OS: | Mac OS X | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: |
Current screenshot and mockup of proposed adjustment
Proposed patch Screenshot before and after the proposed patch |
Created attachment 162640 [details]
Proposed patch
Proposed patch. Tested on MacOS 10.9.5 (see screenshot, which I will attach next).
Note that the methods setPressedCloseButtonIndex and setMouseOverCloseButtonIndex in CloseButtonTabbedPane are mutually recursive but are not actually called from any other location in the source. They can thus be removed, along with several related helper functions:
org.netbeans.core.windows.view.ui.CloseButtonTabbedPane
.setPressedCloseButtonIndex
.setMouseOverCloseButtonIndex
.getCloseButtonBoundsAt
.findTabAt
.isWindowsVistaLaF
.isMetalLaF
.isGTKLaF
.pressedCloseButtonIndex
.mouseOverCloseButtonIndex
Created attachment 162641 [details]
Screenshot before and after the proposed patch
Screenshot of the "Search Results" tabs before and after the proposed patch previously submitted.
Created a JIRA issue for this: https://issues.apache.org/jira/browse/NETBEANS-712 |
Created attachment 152862 [details] Current screenshot and mockup of proposed adjustment On MacOS/Aqua, the text and close ("X") buttons of sub-tabs in the "Output" TopComponentm such as "Debugger Console" and "Run", are vertically off-center. I suggest pushing the text down 1 pixel and the "X" buttons down 2 pixels in such components. The attached image shows both the current appearance and a mockup of the new appearance as would result from the proposed adjustments.