Skip to main content



      Home
Home » Eclipse Projects » Eclipse 4 » css problem
css problem [message #682848] Sun, 12 June 2011 04:29 Go to next message
Eclipse UserFriend
The eclipse ide (4.1M7) has nice round corners in all four corners of it's MPartStacks. These corners remain round, even if one or more views or editors are displayed in the MPartStack.

This does not seem to work in a pure e4 application: All four corners are round if the MPartStack is empty. However, if one ore more MParts are displayed in the stack, two of the corners (those the stack has in common with the part) have square corners. The behaviour is also shown by the e4photo-app and the mail-app.

The corner-radius property of the MPartStack does not help here -- and I didn't find it in the 4.1M7 css-files anyway.

Similar is a problem with shadows: One can set a shadow for an MPartStack with the properties, e.g.

shadow-color: #444444;
shadow-visible: true;

Again, this works, if the stack is empty. As soon as it contains an MPart, the shadow disappears on the borders the stack has in common with the part.

How can one make a stack have shadows and round corners even when it displays parts?
Re: css problem [message #682862 is a reply to message #682848] Sun, 12 June 2011 05:40 Go to previous message
Eclipse UserFriend
Karl,

Take a look here:

* base-css:
https://github.com/tomsontom/emfdatabinding-tutorial/blob/master/at.bestsolution.e4.addressbook.swt.application/css/e4_basestyle.css
* all css:
https://github.com/tomsontom/emfdatabinding-tutorial/tree/master/at.bestsolution.e4.addressbook.swt.application/css

Tom

Am 12.06.11 10:29, schrieb Karl Weber:
> The eclipse ide (4.1M7) has nice round corners in all four corners of
> it's MPartStacks. These corners remain round, even if one or more views
> or editors are displayed in the MPartStack.
>
> This does not seem to work in a pure e4 application: All four corners
> are round if the MPartStack is empty. However, if one ore more MParts
> are displayed in the stack, two of the corners (those the stack has in
> common with the part) have square corners. The behaviour is also shown
> by the e4photo-app and the mail-app.
>
> The corner-radius property of the MPartStack does not help here -- and I
> didn't find it in the 4.1M7 css-files anyway.
>
> Similar is a problem with shadows: One can set a shadow for an
> MPartStack with the properties, e.g.
>
> shadow-color: #444444;
> shadow-visible: true;
>
> Again, this works, if the stack is empty. As soon as it contains an
> MPart, the shadow disappears on the borders the stack has in common with
> the part.
>
> How can one make a stack have shadows and round corners even when it
> displays parts?
Previous Topic:Forms and Wizards
Next Topic:XWT ListViewer multi selection
Goto Forum:
  


Current Time: Wed Jul 23 08:39:45 EDT 2025

Powered by FUDForum. Page generated in 1.28552 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top