|
|
Re: Ignore CSS for some Widgets [message #889906 is a reply to message #889729] |
Wed, 20 June 2012 08:14 |
Quang Tran Messages: 25 Registered: June 2012 |
Junior Member |
|
|
Here is another example why we need a function to ignore css for some widgets:
If you have a dark css theme and a part of your css file is defined as follows:
.MPartStack.active ExpandBar {
background-color: #101010;
color: black;
}
.MPartStack ExpandBar {
background-color: #101010;
color: black;
}
Label {
font: Verdana 8px;
color: white;
}
Composite Label {
color: white;
}
And you have a viewpart, which shows the text color of the labels, depending on a state, in red or green. This does not work if your view loose the focus and gain it again later, because the label colors will be white again due to the CSS binding.
Quang
[Updated on: Wed, 20 June 2012 08:15] Report message to a moderator
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.05289 seconds