Hi Sree,
Great I feel this is the only way.........
On Fri, Jan 13, 2006 at 11:06 AM, Sreejith Unnikrishnan wrote:
Try setting minWidth="0" and minHeight="0" to the VBox
Sree
superabe superabe wrote: Update on this, setting fixed widths and heights on the parent VBox resolved the issue.
That will do fine for now :)
- superabe
On 1/12/06, superabe superabe < [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> > wrote: No luck, same behaviour. :(
- superabe
On 1/12/06, Paul BH < [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> > wrote: what happens if you call super.createChildren() at the beginning of the createChildren method?
On 1/12/06, superabe superabe < [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> > wrote:
This sounds like a really basic thing so I can't believe this is a bug, so probably am doing something wrong.
I have a custom AS container(extends off VBox) in which I create a large number of child controls by overriding the createChildren method.
The component is used in Main.mxml file inside a VBox which is set to 100% height and width like so (pseudo):
The issue is when the scrollbars show up on the Application, rather than on the VBox where I would expect it to !
function MyContainer(){
}
public function createChildren():Void{
for(var i:Number=0;i<100;i++){
this.createChild(Button,undefined,{label:"a_"+ i});
}
}
--
Flexcoders Mailing List
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
Web site design development <http://groups.yahoo.com/gads?t=ms&k=Web+site+design+development&w1=Web+site+design+development&w2=Computer+software+development&w3=Software+design+and+development&w4=Macromedia+flex&w5=Software+development+best+practice&c=5&s=166&.sig=L-4QTvxB_quFDtMyhrQaHQ> Computer software development <http://groups.yahoo.com/gads?t=ms&k=Computer+software+development&w1=Web+site+design+development&w2=Computer+software+development&w3=Software+design+and+development&w4=Macromedia+flex&w5=Software+development+best+practice&c=5&s=166&.sig=lvQjSRfQDfWudJSe1lLjHw> Software design and development <http://groups.yahoo.com/gads?t=ms&k=Software+design+and+development&w1=Web+site+design+development&w2=Computer+software+development&w3=Software+design+and+development&w4=Macromedia+flex&w5=Software+development+best+practice&c=5&s=166&.sig=1pMBCdo3DsJbuU9AEmO1oQ> Macromedia flex <http://groups.yahoo.com/gads?t=ms&k=Macromedia+flex&w1=Web+site+design+development&w2=Computer+software+development&w3=Software+design+and+development&w4=Macromedia+flex&w5=Software+development+best+practice&c=5&s=166&.sig=OO6nPIrz7_EpZI36cYzBjw> Software development best practice <http://groups.yahoo.com/gads?t=ms&k=Software+development+best+practice&w1=Web+site+design+development&w2=Computer+software+development&w3=Software+design+and+development&w4=Macromedia+flex&w5=Software+development+best+practice&c=5&s=166&.sig=f89quyyulIDsnABLD6IXIw>
YAHOO! GROUPS LINKS
• Visit your group " flexcoders <http://groups.yahoo.com/group/flexcoders> " on the web.
• To unsubscribe from this group, send an email to:
[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
• Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service <http://docs.yahoo.com/info/terms/> .
--
Flexcoders Mailing List
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
Web site design development <http://groups.yahoo.com/gads?t=ms&k=Web+site+design+development&w1=Web+site+design+development&w2=Computer+software+development&w3=Software+design+and+development&w4=Macromedia+flex&w5=Software+development+best+practice&c=5&s=166&.sig=L-4QTvxB_quFDtMyhrQaHQ> Computer software development <http://groups.yahoo.com/gads?t=ms&k=Computer+software+development&w1=Web+site+design+development&w2=Computer+software+development&w3=Software+design+and+development&w4=Macromedia+flex&w5=Software+development+best+practice&c=5&s=166&.sig=lvQjSRfQDfWudJSe1lLjHw> Software design and development <http://groups.yahoo.com/gads?t=ms&k=Software+design+and+development&w1=Web+site+design+development&w2=Computer+software+development&w3=Software+design+and+development&w4=Macromedia+flex&w5=Software+development+best+practice&c=5&s=166&.sig=1pMBCdo3DsJbuU9AEmO1oQ> Macromedia flex <http://groups.yahoo.com/gads?t=ms&k=Macromedia+flex&w1=Web+site+design+development&w2=Computer+software+development&w3=Software+design+and+development&w4=Macromedia+flex&w5=Software+development+best+practice&c=5&s=166&.sig=OO6nPIrz7_EpZI36cYzBjw> Software development best practice <http://groups.yahoo.com/gads?t=ms&k=Software+development+best+practice&w1=Web+site+design+development&w2=Computer+software+development&w3=Software+design+and+development&w4=Macromedia+flex&w5=Software+development+best+practice&c=5&s=166&.sig=f89quyyulIDsnABLD6IXIw>
YAHOO! GROUPS LINKS
• Visit your group " flexcoders <http://groups.yahoo.com/group/flexcoders> " on the web.
• To unsubscribe from this group, send an email to:
[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
• Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service <http://docs.yahoo.com/info/terms/> .
--
Flexcoders Mailing List
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
YAHOO! GROUPS LINKS
• Visit your group " flexcoders <http://groups.yahoo.com/group/flexcoders> " on the web.
• To unsubscribe from this group, send an email to:
[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
• Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service <http://docs.yahoo.com/info/terms/> .
--
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
| Web site design development | Computer software development | Software design and development |
| Macromedia flex | Software development best practice |
YAHOO! GROUPS LINKS
- Visit your group "flexcoders" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.

