Hi Tracy, I originally tried that, but if you are using a transition (say, to
resize over 500ms) it breaks the transition (it just instantly resizes).
Mark
--- In flexcoders@yahoogroups.com, Tracy Spratt tspr...@... wrote:
Suppose on resize you call PopUpmanager.centerPopUp()/
Tracy Spratt,
Lariat Services, development services available
_
From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of skuteboarding
Sent: Thursday, April 02, 2009 5:36 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Why does percentWidth / percentHeight not work with
popups?
I'm trying to create a popup at 100% of the width / height of the
application. But it just ignores these values. I've had to work around the
problem by doing:
BindingUtils.bindProperty(popup, width, this, width);
BindingUtils.bindProperty(popup, height, this, height);
(Where 'this' is the application).
The reason I'm trying to do this is I've got a popup that I want centred in
the view, but it has different states which change the size of the popup.
Mark