nigelht / macwidgets

Collection of Mac style widgets written in Java (by Ken Orr)
http://nigelht.github.io/macwidgets
3 stars 0 forks source link

JToggleButton with text and icon does not show the text #155

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Run the DUnifiedToolBarButtonUI demo
2. Check out the lower button, which is JToggleButton - it is created with 
text "Preferences" and an icon.
3. The button does not show the text. When you Command-Tab switch you 
can notice the text appearing for a second.

What is the expected output? What do you see instead?
Both button icon and text should be visible at all times

What version of the product are you using? On what operating system?
Latest version checked out revision 372 from svn

Please provide any additional information below.
The problem only appears when you have both icon and text, regardless of 
their position. If it's only text, then the text is visible.

Original issue reported on code.google.com by mladen.m...@gmail.com on 4 Feb 2010 at 10:44