Author |
Message |
27/11/2009 09:34:10
|
levy
Power User
Joined: 12/03/2008 16:38:22
Messages: 308
Location: XpertCenter
Offline
|
Hi,
Some users claim that they can hardly read the darkened items corresponding to the non selected workpages on the rowworkpageselector. Of course one excellent aid is to popup the alternative menu on the very right corner of the rowworkpageselector.
But I wonder if the rowworkpageselector could be more customizable, e.g. different background and/or text color for selected and unselected workpage items.
Regards, Daniel
|
|
|
27/11/2009 09:39:19
|
CaptainCasa
Power User
Joined: 21/11/2007 12:23:06
Messages: 5542
Offline
|
Hi,
yes, this is possible...:
The style is define in the style definition (default: eclntjsfserver/styles/default/style.xml).
Code:
<tag name="tabbedline" variant="WP_WORKPAGESELECTOR">
<set attribute="bgpaintdefault" value="rectangle(0,0,100%,100%,#80808080,#80808020,horizontal)"/>
<set attribute="bgpaintrollover" value="rectangle(0,0,100%,100%,#C0808080,#C0808020,horizontal)"/>
<set attribute="bgpaintselected" value="rectangle(0,0,100%,100%,#C0808080,#C0808020,horizontal)"/>
<set attribute="font" value="size:10"/>
<set attribute="foregrounddefault" value="#808080"/>
<set attribute="foregroundselected" value="#FFFFFF"/>
<set attribute="rowalignmenty" value="bottom"/>
<set attribute="indentwidth" value="0"/>
</tag>
Please do not override the default/style.xml because it is overwritten with every update - but create an own stylea and set this as standard style. Please check: there were some nice style enhancements over the last weeks, e.g. style inheritance, so that you can create your style, take over all definitions of the default-file and only adapte this TABBEDLINE style.
Björn
|
Björn Müller, CaptainCasa GmbH |
|
|
27/11/2009 10:48:15
|
mreich
Power User
Joined: 30/01/2009 08:34:23
Messages: 750
Offline
|
Hi,
I tried around this the last day, without success
Somehow the style doesn't show up as defined, just for this rowworkpageselector?
I added my style file
regards
Markus
Filename |
style.xml |
Download
|
Description |
|
Filesize |
10 Kbytes
|
Downloaded: |
461 time(s) |
|
|
|
27/11/2009 11:00:43
|
CaptainCasa
Power User
Joined: 21/11/2007 12:23:06
Messages: 5542
Offline
|
Hi,
how do you make sure that your temp style is selected?
You can in general set the style via eclntjsfserver/config/sessiondefaults.xml or you can manually test in the layout editor (Preview... => ComboBox).
And you need to make sure that your project is reloaded (style is within the deployed directory).
Does this help?
Björn
|
Björn Müller, CaptainCasa GmbH |
|
|
27/11/2009 11:09:19
|
mreich
Power User
Joined: 30/01/2009 08:34:23
Messages: 750
Offline
|
Hi I defined it in sessiondefaults.xml
and additionaly give as get Parameter ?ccstyle=...
It's deployed, I checked this manually and by changing other properties!
I will try the preview option in the editor
thanx
Markus
|
|
|
|