Re: [flexcoders] VBox scrollbar bug ?
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. :( Works for Canvas, does not work for VBox - 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: Hello list, 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): application width=980 height=695 margin=10 vbox width=100% height=100% myContainer/ /vbox /application The issue is when the scrollbars show up on the Application, rather than on the VBox where I would expect it to ! If I replace the parent vbox with a canvas scrollbars show up around the canvas as it should My component code is: MyContainer.as class _test.MyContainer extends VBox{ function MyContainer(){ } public function createChildren():Void{ for(var i:Number=0;i100;i++){ this.createChild(Button,undefined,{label:a_+ i}); } } } Anybody faced this before or know what I am doing wrong? TIA - superabe -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comSPONSORED LINKS Web site design development http://groups.yahoo.com/gads?t=msamp;k=Web+site+design+developmentamp;w1=Web+site+design+developmentamp;w2=Computer+software+developmentamp;w3=Software+design+and+developmentamp;w4=Macromedia+flexamp;w5=Software+development+best+practiceamp;c=5amp;s=166amp;.sig=L-4QTvxB_quFDtMyhrQaHQ Computer software development http://groups.yahoo.com/gads?t=msamp;k=Computer+software+developmentamp;w1=Web+site+design+developmentamp;w2=Computer+software+developmentamp;w3=Software+design+and+developmentamp;w4=Macromedia+flexamp;w5=Software+development+best+practiceamp;c=5amp;s=166amp;.sig=lvQjSRfQDfWudJSe1lLjHw Software design and development http://groups.yahoo.com/gads?t=msamp;k=Software+design+and+developmentamp;w1=Web+site+design+developmentamp;w2=Computer+software+developmentamp;w3=Software+design+and+developmentamp;w4=Macromedia+flexamp;w5=Software+development+best+practiceamp;c=5amp;s=166amp;.sig=1pMBCdo3DsJbuU9AEmO1oQ Macromedia flex http://groups.yahoo.com/gads?t=msamp;k=Macromedia+flexamp;w1=Web+site+design+developmentamp;w2=Computer+software+developmentamp;w3=Software+design+and+developmentamp;w4=Macromedia+flexamp;w5=Software+development+best+practiceamp;c=5amp;s=166amp;.sig=OO6nPIrz7_EpZI36cYzBjw Software development best practice http://groups.yahoo.com/gads?t=msamp;k=Software+development+best+practiceamp;w1=Web+site+design+developmentamp;w2=Computer+software+developmentamp;w3=Software+design+and+developmentamp;w4=Macromedia+flexamp;w5=Software+development+best+practiceamp;c=5amp;s=166amp;.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 FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comSPONSORED LINKS Web site design development http://groups.yahoo.com/gads?t=msamp;k=Web+site+design+developmentamp;w1=Web+site+design+developmentamp;w2=Computer+software+developmentamp;w3=Software+design+and+developmentamp;w4=Macromedia+flexamp;w5=Software+development+best+practiceamp;c=5amp;s=166amp;.sig=L-4QTvxB_quFDtMyhrQaHQ Computer software development http://groups.yahoo.com/gads?t=msamp;k=Computer+software+developmentamp;w1=Web+site+design+developmentamp;w2=Computer+software+developmentamp;w3=Software+design+and+developmentamp;w4=Macromedia+flexamp;w5=Software+development+best+practiceamp;c=5amp;s=166amp;.sig=lvQjSRfQDfWudJSe1lLjHw Software design and development http://groups.yahoo.com/gads?t=msamp;k=Software+design+and+developmentamp;w1=Web+site+design+developmentamp;w2=Computer+software+developmentamp;w3=Software+design+and+developmentamp;w4=Macromedia+flexamp;w5=Software+development+best+practiceamp;c=5amp;s=166amp;.sig=1pMBCdo3DsJbuU9AEmO1oQ
[flexcoders] VBox scrollbar bug ?
Hello list, 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): application width=980 height=695 margin=10 vbox width=100% height=100% myContainer/ /vbox /application The issue is when the scrollbars show up on the Application, rather than on the VBox where I would expect it to ! If I replace the parent vbox with a canvas scrollbars show up around the canvas as it should My component code is: MyContainer.as class _test.MyContainer extends VBox{ function MyContainer(){ }public function createChildren():Void{ for(var i:Number=0;i100;i++){ this.createChild(Button,undefined,{label:a_+ i}); }}} Anybody faced this before or know what I am doing wrong? TIA - superabe -- 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.
Re: [flexcoders] VBox scrollbar bug ?
what happens if you call super.createChildren() at the beginning of the createChildren method? On 1/12/06, superabe superabe [EMAIL PROTECTED] wrote: Hello list, 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): application width=980 height=695 margin=10 vbox width=100% height=100% myContainer/ /vbox /application The issue is when the scrollbars show up on the Application, rather than on the VBox where I would expect it to ! If I replace the parent vbox with a canvas scrollbars show up around the canvas as it should My component code is: MyContainer.as class _test.MyContainer extends VBox{ function MyContainer(){ }public function createChildren():Void{ for(var i:Number=0;i100;i++){ this.createChild(Button,undefined,{label:a_+ i}); }}} Anybody faced this before or know what I am doing wrong? TIA - superabe--Flexcoders Mailing ListFAQ: 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. -- 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.
Re: [flexcoders] VBox scrollbar bug ?
No luck, same behaviour. :( Works for Canvas, does not work for VBox - superabe On 1/12/06, Paul BH [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] wrote: Hello list, 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): application width=980 height=695 margin=10 vbox width=100% height=100% myContainer/ /vbox /application The issue is when the scrollbars show up on the Application, rather than on the VBox where I would expect it to ! If I replace the parent vbox with a canvas scrollbars show up around the canvas as it should My component code is: MyContainer.as class _test.MyContainer extends VBox{ function MyContainer(){ }public function createChildren():Void{ for(var i:Number=0;i100;i++){ this.createChild(Button,undefined,{label:a_+ i}); }}} Anybody faced this before or know what I am doing wrong? TIA - superabe--Flexcoders Mailing ListFAQ: 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. --Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch 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. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 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.
Re: [flexcoders] VBox scrollbar bug ?
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] wrote: No luck, same behaviour. :( Works for Canvas, does not work for VBox - superabe On 1/12/06, Paul BH [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] wrote: Hello list, 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): application width=980 height=695 margin=10 vbox width=100% height=100% myContainer/ /vbox /application The issue is when the scrollbars show up on the Application, rather than on the VBox where I would expect it to ! If I replace the parent vbox with a canvas scrollbars show up around the canvas as it should My component code is: MyContainer.as class _test.MyContainer extends VBox{ function MyContainer(){ }public function createChildren():Void{ for(var i:Number=0;i100;i++){ this.createChild(Button,undefined,{label:a_+ i}); }}} Anybody faced this before or know what I am doing wrong? TIA - superabe--Flexcoders Mailing ListFAQ: 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. --Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch 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. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 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.
Re: [flexcoders] VBox scrollbar bug ?
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] wrote: No luck, same behaviour. :( Works for Canvas, does not work for VBox - superabe On 1/12/06, Paul BH [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] wrote: Hello list, 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): application width=980 height=695 margin=10 vbox width=100% height=100% myContainer/ /vbox /application The issue is when the scrollbars show up on the Application, rather than on the VBox where I would expect it to ! If I replace the parent vbox with a canvas scrollbars show up around the canvas as it should My component code is: MyContainer.as class _test.MyContainer extends VBox{ function MyContainer(){ } public function createChildren():Void{ for(var i:Number=0;i100;i++){ this.createChild(Button,undefined,{label:"a_"+ i}); } } } Anybody faced this before or know what I am doing wrong? TIA - superabe -- 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. -- 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. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 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.