[Logo] Enterprise Client Community
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
style definition for rowtitlebar & lable  XML
Forum Index -> Development
Author Message
rheinrichs

Power User
[Avatar]

Joined: 08/05/2009 10:05:36
Messages: 209
Offline

Hi!

It seems, that the width of the title (text) in the rowtitlebar depends in the style(.xml) of the <tag name="lable"...>

In my case the width of label is 100 (px). Now the title is cut of with "...".

The problem is, that
a) Stylvariants of label is not choiceable for rowtitle
b) the rowtitle-style has no attibute "width" or "cutwidth"

Is there any hint for that?

regards
;o)

style.xml:
...
<tag name="rowtitlebar" variant="default">
<set attribute="font" value="size:15;weight:bold"/>
<set attribute="foreground" value="#F0F0F0"/>
<set attribute="padding" value="3"/>
<!-- set attribute="width" value="200"/ -->
<!-- set attribute="cutwidth" value="false"/ -->
</tag>

<tag name="label" variant="default">
<set attribute="width" value="100"/>
</tag>
...

CaptainCasa

Power User
[Avatar]

Joined: 21/11/2007 12:23:06
Messages: 5538
Offline

Yes, the label is used in ROWTITLEBAR, so all good things you do to the label are applied there as well below the cover.

The way I would proceed: define your "good things" inside an own stylevariant (not the default one), and then use the LABEL-STYLEVARIANT to point to the adequate one.

Björn

Björn Müller, CaptainCasa GmbH
rheinrichs

Power User
[Avatar]

Joined: 08/05/2009 10:05:36
Messages: 209
Offline

thx, that works fine

regard
 
Forum Index -> Development
Go to:   
Powered by JForum 2.1.6 © JForum Team