You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Rami Swailem (Jira)" <ji...@apache.org> on 2020/12/07 11:42:00 UTC

[jira] [Created] (NETBEANS-5105) Text doesn't display below the icon on Toolbar

Rami Swailem created NETBEANS-5105:
--------------------------------------

             Summary: Text doesn't display below the icon on Toolbar
                 Key: NETBEANS-5105
                 URL: https://issues.apache.org/jira/browse/NETBEANS-5105
             Project: NetBeans
          Issue Type: Bug
          Components: platform - Other
            Reporter: Rami Swailem
         Attachments: Screenshot 2020-12-07 at 12.21.56.png

In my custom MyButtonActionConnector class, I set the button to show the text like this:

button.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);
 button.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM);

It's appear to work in Windows but not in Mac OS

Test Project https://github.com/ramiswailem/MyButtonActionConnectorTestProject

 
*Product Version:* Apache NetBeans IDE 12.2

*Java:* 11.0.9; Java HotSpot(TM) 64-Bit Server VM 11.0.9+7-LTS

*Runtime:* Java(TM) SE Runtime Environment 11.0.9+7-LTS

*System:* Mac OS X version 10.16 running on x86_64; UTF-8; en_DE (nb)

*User directory:* /Users/rami/Library/Application Support/NetBeans/12.2

*Cache directory:* /Users/rami/Library/Caches/NetBeans/12.2

 

 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists