cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robby Pelssers" <robby.pelss...@ciber.com>
Subject RE: Cannot set width of selection-list
Date Wed, 03 Mar 2010 17:09:37 GMT
Hi Tomek,

I did not tested this but taking a quick look at forms-field-styling.xsl I assume that you
can use the @class attribute on a <fi:styling> element.

So can you try 

In your css file:
.questionCount {
    width:30px
}

<ft:widget id="questionCount">
    <fi:styling class="questionCount" />
<ft:widget>


Kind regards,
Robby Pelssers

-----Original Message-----
From: Tomek Piechowicz [mailto:tomasz.piechowicz@gmail.com] 
Sent: Wednesday, March 03, 2010 5:33 PM
To: users@cocoon.apache.org
Subject: Cannot set width of selection-list 

I would like to set width of selection-list to 30px. I tried to set 
style attribute :

<ft:widget id="questionCount">
    <fi:styling style="width:30px" />
<ft:widget>

but It works only for values bigger than 200px. I mean that when I set 
width to 30px - nothing happend, but when I set it to 300px then widget 
is resized. Is there any other way to set width of selection-list?

Regards,
Tomek Piechowicz



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org

Mime
View raw message