You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@netbeans.apache.org by GitBox <gi...@apache.org> on 2018/04/28 11:35:59 UTC
[GitHub] emilianbold closed pull request #513: [NETBEANS-712] Improve
label/button alignment in output pane header on Aqua
emilianbold closed pull request #513: [NETBEANS-712] Improve label/button alignment in output pane header on Aqua
URL: https://github.com/apache/incubator-netbeans/pull/513
This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:
As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):
diff --git a/core.windows/src/org/netbeans/core/windows/view/ui/CloseButtonTabbedPane.java b/core.windows/src/org/netbeans/core/windows/view/ui/CloseButtonTabbedPane.java
index 17bf4338b..c38c9c153 100644
--- a/core.windows/src/org/netbeans/core/windows/view/ui/CloseButtonTabbedPane.java
+++ b/core.windows/src/org/netbeans/core/windows/view/ui/CloseButtonTabbedPane.java
@@ -569,6 +569,11 @@ public Icon getIcon() {
};
add(label);
JButton tabCloseButton = CloseButtonFactory.createCloseButton();
+ if (IS_AQUA_LAF) {
+ // NETBEANS-172: Improve positioning of label and close button within the tab button.
+ setBorder(BorderFactory.createEmptyBorder(1, 0, 0, 0));
+ tabCloseButton.setBorder(BorderFactory.createEmptyBorder(2, 2, 0, 0));
+ }
tabCloseButton.addActionListener(new ActionListener() {
@Override
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists