Hey... now that's cool, I didn't realize scale also affects text size.

<?xml version="1.0" encoding="utf-8"?>

<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"; layout="absolute">

 <mx:Script>

<![CDATA[

private function goBigOrGoHome():void { superSizeButton.scaleX =
superSizeButton.scaleY += .2; }

]]>

</mx:Script>


 <mx:Button id="superSizeButton"  label="SuperSize Me" x="10" y="10"
click="goBigOrGoHome()"/>

</mx:Application>

Thanks Alex.

On Mon, Jan 12, 2009 at 3:02 PM, Alex Harui <[email protected]> wrote:

>    xscale = yscale = someScaleFactorGreaterThanOne?
>
>
>
> *From:* [email protected] [mailto:[email protected]] *On
> Behalf Of *Nate Beck
> *Sent:* Monday, January 12, 2009 2:15 PM
> *To:* [email protected]
> *Subject:* Re: [flexcoders] Re: Expanding size of panel, and its contained
> objects.
>
>
>
> What Wesley is saying seems like a good starting point.
>
>
>
> I haven't heard of this type of behavior before.  But a uniform scaling of
> all components and all of their text at the same time will be a challenge...
>
>
>
> sidenote:
>
> I'm on a mac, so if I can't read something, I just use the Command+Option+8
> shortcut to enable accessibility, and then Command+Option+= to zoom in.
>
>
>
>
>
> On Mon, Jan 12, 2009 at 2:10 PM, Wesley Acheson <[email protected]>
> wrote:
>
> For all the children try using percentage widths and heights, I don't
> really know about the font of things.   Maybe you could increase the font
> size by giving everything a font size attached to a variable.  Or try using
> CSS to benefit from Cascading rules?
>
> Regards,
>
> Wesley Acheson
>
> On Mon, Jan 12, 2009 at 11:07 PM, aceoohay <[email protected]> wrote:
>
>  Tim:
>
> I am not sure I understand?
>
> What I need is the ability to expand a panel, and all of its
> contained objects such as textinputs, labels, comboboxes and the
> like.
>
> Paul
>
> --- In [email protected], Tim Rowe <tim.r...@...> wrote:
> >
> > It won't run in 40 column mode?
> >
> > I feel evil suggesting this when 1280x1024 is the norm these days.
> >
> > --Tim
> >
> > ________________________________
> > From: [email protected]
> [mailto:[email protected]] On Behalf Of aceoohay
> > Sent: Tuesday, 13 January 2009 8:59 AM
> > To: [email protected]
> > Subject: [flexcoders] Re: Expanding size of panel, and its
> contained objects.
> >
> >
> > Actually, I have.
> >
> > Unfortunately the system they are coming from is a unix character
> > based system where an 80 character by 24 line screen takes up their
> > entire monitor. A number of the users are complaining that they
> > can't read the default font sizes, and while I told them that's all
> > I can do, I was hoping to find an easy solution.
> >
> > Paul
> >
> > --- In [email protected]<mailto:flexcoders% <flexcoders%25>
> 40yahoogroups.com>, "Nate Beck" <nate@> wrote:
> > >
> > > After thinking about it for a minute... now I'm understanding
> what
> > you're
> > > saying. You want to actually ZOOM in, make them larger.
> > > Have you tried taking the easy way out and telling the people to
> > change
> > > their monitor resolution? :D
> > >
> > > On Mon, Jan 12, 2009 at 1:47 PM, Nate Beck <nate@> wrote:
> > >
> > > > ... If you're using constraint based layout... how is there a
> > problem? A
> > > > component taking 100% of the width of it's container will
> always
> > scale to
> > > > fit that container.
> > > >
> > > >
> > > > On Mon, Jan 12, 2009 at 1:27 PM, aceoohay <pauls@> wrote:
> > > >
> > > >> While that example does allow you to maximize a panel, it
> > does not
> > > >> expand the contained objects.
> > > >>
> > > >> If it did what I need the buttons <set video visible> and <set
> > video
> > > >> enable> would become much larger than they were originally
> when
> > the
> > > >> maximize button was clicked.
> > > >>
> > > >> I should have mentioned that I have done searching, and can
> > find the
> > > >> expanding panel in many places, but nowhere can I find code
> that
> > > >> will force the objects in a container to increse in size by
> n%.
> > > >>
> > > >> Paul
> > > >>
> > > >>
> > > >> --- In [email protected]<mailto:flexcoders%<flexcoders%25>
> 40yahoogroups.com> <flexcoders%
> > 40yahoogroups.com>, "Nate
> > > >> Beck" <nate@> wrote:
> > > >> >
> > > >> > Doing a quick google search for, "flex maximize, minimize
> > panel"
> > > >> > Returns loads of examples of what you're trying to do I
> > think...
> > > >> >
> > > >> >
> http://www.comtaste.com/DashboardExample/DashboardExample.html
> > > >> >
> > > >> > and
> > > >> >
> > > >> >
> > > >>
> >
> http://blog.comtaste.com/2008/12/how_to_use_the_flex_dashboard_1.html
> > > >> >
> > > >> > Right?
> > > >> >
> > > >> > On Mon, Jan 12, 2009 at 11:17 AM, aceoohay <pauls@> wrote:
> > > >> >
> > > >> > > Hello?
> > > >> > >
> > > >> > > Is anyone out there?
> > > >> > >
> > > >> > > Any ideas?
> > > >> > >
> > > >> > > Paul
> > > >> > >
> > > >> > >
> > > >> > > --- In [email protected]<mailto:flexcoders%<flexcoders%25>
> 40yahoogroups.com> <flexcoders%
> > 40yahoogroups.com><flexcoders%
> > > >> 40yahoogroups.com>,
> > > >> > > "aceoohay" <pauls@> wrote:
> > > >> > > >
> > > >> > > > The systems that I write are traditional data entry
> types
> > of
> > > >> > > systems.
> > > >> > > > I do everything within panels within modules. I have had
> > users
> > > >> ask
> > > >> > > if
> > > >> > > > they could expand the size of the panel in order to read
> > them
> > > >> better
> > > >> > > > due to poor eyesight, high res monitors and the like.
> > > >> > > >
> > > >> > > > Are there any existing panel like components that allow
> > > >> expanding,
> > > >> > > > while making the contained objects larger?
> > > >> > > >
> > > >> > > > Contained objects generally include label, textinput,
> > textarea,
> > > >> > > > combobox, etc... Font sizes would need to be increased,
> > etc.
> > > >> > > >
> > > >> > > > Paul
> > > >> > > >
> > > >> > >
> > > >> > >
> > > >> > >
> > > >> >
> > > >> >
> > > >> >
> > > >> > --
> > > >> >
> > > >> > Cheers,
> > > >> > Nate
> > > >> > ----------------------------------------
> > > >> > http://blog.natebeck.net
> > > >> >
> > > >>
> > > >>
> > > >>
> > > >
> > > >
> > > >
> > > > --
> > > >
> > > > Cheers,
> > > > Nate
> > > > ----------------------------------------
> > > > http://blog.natebeck.net
> > > >
> > > >
> > > >
> > >
> > >
> > > --
> > >
> > > Cheers,
> > > Nate
> > > ----------------------------------------
> > > http://blog.natebeck.net
> > >
> >
>
>
>   ------------------------------------
>
>
>
> --
> Flexcoders Mailing List
> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Alternative FAQ location:
> https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847
>
> Search Archives:
> http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups
> Links
>
>
>    http://groups.yahoo.com/group/flexcoders/
>
>
>
>
>
>
>
>
> --
>
> Cheers,
> Nate
> ----------------------------------------
> http://blog.natebeck.net
>
>      
>



-- 

Cheers,
Nate
----------------------------------------
http://blog.natebeck.net

Reply via email to