cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robby Pelssers" <>
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 {

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

Kind regards,
Robby Pelssers

-----Original Message-----
From: Tomek Piechowicz [] 
Sent: Wednesday, March 03, 2010 5:33 PM
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" />

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?

Tomek Piechowicz

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message