[Logo] Enterprise Client Community
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
Customization rowworkpageselector  XML
Forum Index -> Development
Author Message
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
[WWW]
CaptainCasa

Power User
[Avatar]

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
mreich

Power User
[Avatar]

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 [Disk] Download
 Description
 Filesize 10 Kbytes
 Downloaded:  461 time(s)

[WWW]
CaptainCasa

Power User
[Avatar]

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
mreich

Power User
[Avatar]

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
[WWW]
 
Forum Index -> Development
Go to:   
Powered by JForum 2.1.6 © JForum Team