Hi Robby.

I`m very sorry for wasting your time, I should look into style sheet before posting. I used firebug to sse styling of widget on form and I found that :

styles.css :

select {
max-width:484px;
min-width:269px;
}

Finally I set min-width to 30px in my class and it works now. I`m curious why min-width of select is set exactly to 269px ?

Regards,
Tomek Piechowicz


Robby Pelssers pisze:
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:[email protected]] Sent: Wednesday, March 03, 2010 5:33 PM
To: [email protected]
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: [email protected]
For additional commands, e-mail: [email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to