Kobe,

 

One thing that I found (and continue to find helpful) when trying to
figure out how to set "things" for an object is to refer to Adobe's
LiveDocs (http://livedocs.adobe.com/flex/3/langref/index.html). 

 

If the "thing" you want to set is found in the "properties" table for
the class in question you will not be able to set that property via a
style sheet or in Action Script via the setStyle() method. The class
will typically provide setters and getters for these properties.
Additionally, you can bind the property value. 

 

If the "thing" you want to set is found in the "styles" table, then it
is a style item and you can use a style sheet, setStyle() etc. for
setting the value of that style.

 

Scott

 

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of Michael Schmalle
Sent: Wednesday, June 25, 2008 11:54 AM
To: [email protected]
Subject: Re: [flexcoders] width via style/css

 

Hi,

No, width is a property of UIComponent not a style. You can try using
constraints IE top,left,bottom,right.

Mike

On Wed, Jun 25, 2008 at 12:03 PM, Ingo Stoecker <[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]> > wrote:

hello,

 

just a newbie question ;-)

 

is it possible to define the width of any components (like textinput,
button, combobox) via mx:style or external css?

 

greets,

 

kobe

 

________________________________

Gesendet von Yahoo! Mail
<http://us.rd.yahoo.com/mailuk/taglines/isp/control/*http:/us.rd.yahoo.c
om/evt=52427/*http:/de.overview.mail.yahoo.com> . 
Dem pfiffigeren Posteingang. 




-- 
Teoti Graphix, LLC
http://www.teotigraphix.com <http://www.teotigraphix.com> 

Teoti Graphix Blog
http://www.blog.teotigraphix.com <http://www.blog.teotigraphix.com> 

You can find more by solving the problem then by 'asking the question'. 

 

Reply via email to