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 <[email protected]> To: [email protected] Date: 12/17/2012 06:57 AM Subject: [e4-dev] Missing tabs in E4 with Theme Sent by: [email protected] 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 [email protected] https://dev.eclipse.org/mailman/listinfo/e4-dev
_______________________________________________ e4-dev mailing list [email protected] https://dev.eclipse.org/mailman/listinfo/e4-dev
