Thanks Peter.  If I can use Left/Right/Top/Buttom or Padding* for all the components where I specify x/y/width/height, this will be a good substitute.  -Brian


From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Peter Baird
Sent: Thursday, November 02, 2006 6:30 PM
To: [email protected]
Subject: Re: [flexcoders] x, y, width, and height in CSS

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]com> 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





SPONSORED LINKS
Software development tool Software development Software development services
Home design software Software development company

Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___

Reply via email to