Originally filed by nicolas....@gmail.com on 2010-05-14T23:35:17
What steps will reproduce the problem?
Set the tabWidth to 150 and the minWidth to 100
Disable the popup to get the scrolling buttons
Add as many tab as possible to exceed the size of the canvas and display
the scrolling button
What is the expected output? What do you see instead?
We should see the scrolling button showing up when the size exceed the
canvas size. They don't appear properly as the calculation is based on the
minWidth and not the width.
What version of the product are you using? On what operating system?
Flex 3.
Please provide any additional information below.
Here is the fix. Please integrate with next version of flexlib:
Originally filed by nicolas....@gmail.com on 2010-05-14T23:35:17
What steps will reproduce the problem?
What is the expected output? What do you see instead? We should see the scrolling button showing up when the size exceed the canvas size. They don't appear properly as the calculation is based on the minWidth and not the width.
What version of the product are you using? On what operating system? Flex 3.
Please provide any additional information below. Here is the fix. Please integrate with next version of flexlib:
In function: updateDisplayList(unscaledWidth:Number,unscaledHeight:Number):void Line: 1022 Replace: tabBar.numChildren * _minTabWidth by: tabBar.numChildren * tabBar.getStyle("tabWidth")
It fix the problem for me ... maybe there is a more elegant solution. Doug ... it's your call.
Thanks again for all these great components.