Re: Can't get Rect to draw one way, but works another

2016-09-16 Thread kamcknig
I'll check it out soon! On Sep 16, 2016 1:09 AM, "OK [via Apache Flex Users]" < ml-node+s246n13551...@n4.nabble.com> wrote: > HI, > I've just accidentally stumbled over this [1]. It contains a styled > rectangle component. > Seems that this perfectly fit your needs. > > HTH, > Olaf > > > [1]

Re: Can't get Rect to draw one way, but works another

2016-09-15 Thread OK
HI, I've just accidentally stumbled over this [1]. It contains a styled rectangle component. Seems that this perfectly fit your needs. HTH, Olaf [1] http://help.adobe.com/en_US/flex/using/WS2db454920e96a9e51e63e3d11c0bf687e7-7ff6.html -- View this message in context:

Re: Can't get Rect to draw one way, but works another

2016-09-14 Thread Alex Harui
Without really digging into it, I think Group doesn't have a layout so no code is around to re-compute sizes of children by evaluation %. So I think you will have to write code to resize the Rect. Doing it in updateDisplayList would then be the recommended way. -Alex On 9/14/16, 7:30 AM,

Re: Can't get Rect to draw one way, but works another

2016-09-14 Thread kamcknig
I also then set the width and height of the Rect to equal the unscaledWidth/unscaledHeight in the updateDisplayList and that worked also. I'm unsure what the proper way to do things is. -- View this message in context:

Re: Can't get Rect to draw one way, but works another

2016-09-14 Thread kamcknig
If I set the width and height of the _rect explicitly within the creation complete of the group such as: within the BackgroundFill component then it works. But setting percentWidth and height apparently doesn't auto update the Rect when the size of the parent changes? -- View this message in