Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [e4-dev] Missing tabs in E4 with Theme

Hi Roger -

The problem lies in the renderer code for drawing tabs on the bottom. It's not computing the size of the tab items properly and draws the item body over top of it. The XML editor in the failing case makes use of a CTabFolder with a SWT.BOTTOM style bit set. The Dark Juno Theme has an element style for CTabFolder that matches the XML editor (as it is not an MPartStack class) and the CTabFolder declaration specifies to use the new renderer (with the bad bottom drawing code).

As a temp workaround, you can make some changes to the theme but the real fix needs to be put into the renderer. I'll post a workaround for the theme on https://bugs.eclipse.org/bugs/show_bug.cgi?id=396780

Regards,
Bogdan




From: Roger Dudler <roger.dudler@xxxxxxxxx>
To: e4-dev@xxxxxxxxxxx
Date: 12/17/2012 06:57 AM
Subject: [e4-dev] Missing tabs in E4 with Theme
Sent by: e4-dev-bounces@xxxxxxxxxxx





Hey all,

Does anyone of you have an idea about why the editor tabs disappear while using a custom theme? Who can help on this topic?

See details on:
https://github.com/rogerdudler/eclipse-ui-themes/issues/11

This happens when applying the Dark Juno theme from
http://rogerdudler.github.com/eclipse-ui-themes/

Thanks for your help!

Cheers
Roger
_______________________________________________
e4-dev mailing list
e4-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/e4-dev




Back to the top