There are some reasonable approaches for some of things your looking for in
CSS.  

For X and Y positioning, you can use the CSS values Left, Right, Top, and
Bottom to specify the pixels distance.

For height, for controls like button, you can use your CSS paddings to, in a
sense, define the height.  For example, a button, setting PaddingTop and
Padding Bottom will create a consistent height for buttons across all
buttons with that styleName.  You can play around with paddingTop and
paddingBottom until you get the desired height (
http://examples.adobe.com/flex2/consulting/styleexplorer/Flex2StyleExplorer.
html) and use that to define height.

-peter 

On 11/2/06 2:47 PM, "Brian Deitte" <[EMAIL PROTECTED]> wrote:

> Is there any thoughts on having x, y, width, and height in CSS?  I find
> it painful to not have the values there when working with a designer and
> using absolute positioning.  My life would be much easier if I could
> simply set up the Flex application on the designer's machine, point him
> to the CSS, and let him make design changes himself.
> 
> I've read Manish's posts on this
> (http://mannu.livejournal.com/359634.html,
> http://mannu.livejournal.com/299285.html) as well as Gordon's flexcoders
> post where he says this is by design.  I assume this is by design for
> performance reasons, and that the framework would be slowed down by
> having to look up the values continuously to check for runtime changes.
> So how about special-casing these four values in CSS, and allowing them
> to continue to be properties?
> 
> -Brian
> 
> 
> --
> Flexcoders Mailing List
> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
> Yahoo! Groups Links
> 
> 
> 
> 




--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/flexcoders/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[EMAIL PROTECTED] 
    mailto:[EMAIL PROTECTED]

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 

Reply via email to