Re: UnifiedToolBar Black Bar issue

23 views
Skip to first unread message

Dirk Lemmermann

unread,
Jan 4, 2013, 2:45:46 PM1/4/13
to mac-widget...@googlegroups.com
The dark line is intentional. The problem is that the background color of the content area should not be "brushed metal" (as it used to be called) but preferably a solid light gray. 

Dirk

On 04.01.2013, at 20:07, Caleb Albritton <ithink...@gmail.com> wrote:

I'm using your project MacWidgets for a Markdown Editor called Typr, though I seem to be running into an issue with the UnifiedToolBar class. The issue is a black line between the JTabbedPane and the UnifiedToolBar. Here's a snippet of code and a screenshot that might prove helpful.

http://downloads.ithinkinco.de/image/262R3P1F2D1O

MacUtils.makeWindowLeopardStyle(mFrame.getRootPane());
mToolBar.disableBackgroundPainter(); // For matching styles on newer OS X
mFrame.getContentPane().add(mToolBar.getComponent(), BorderLayout.NORTH);
mFrame.getContentPane().add(mTabbedPane, BorderLayout.CENTER); 

Any help would be appreciated.

--
You received this message because you are subscribed to the Google Groups "Mac Widgets for Java" group.
To view this discussion on the web visit https://groups.google.com/d/msg/mac-widgets-for-java/-/Vfvf4ciK9TsJ.
To post to this group, send email to mac-widget...@googlegroups.com.
To unsubscribe from this group, send email to mac-widgets-for-...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/mac-widgets-for-java?hl=en.

Reply all
Reply to author
Forward
0 new messages