Try setting the Rect's width/height to 100%:
http://ns.adobe.com/mxml/2009";
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx">
Not exactly sure why using left/right/top/bottom constraints didn't work on the
bottom HGroup, but feel free to file a bug at http://bugs.adobe.com/flex/ and
Adobe can look into it.
Peter
From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf
Of bhaq1972
Sent: Thursday, April 22, 2010 4:53 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Flex 4 HGroup and Group background colour
Why does this work
But this doesnt?
thanks