What steps will reproduce the problem?
1. Set the tabWidth to 150 and the minWidth to 100
2. Disable the popup to get the scrolling buttons
3. 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:
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.
Original issue reported on code.google.com by nicolas....@gmail.com on 14 May 2010 at 11:35
Original issue reported on code.google.com by
nicolas....@gmail.com
on 14 May 2010 at 11:35