wiln / flexlib

Automatically exported from code.google.com/p/flexlib
0 stars 0 forks source link

SupertabNavigator : second tab is cropped when increase tab-width property #268

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. use flexlib 2.4 in flex 4 sdk
2. simply instanciate a supertabnavigator with tabWidth="140" like
<lib:SuperTabNavigator id="tn" width="100%" height="100%" tabWidth="140"  
dragEnabled="true" closePolicy="{SuperTab.CLOSE_ALWAYS}" 

What is the expected output? What do you see instead?
the second tab is cut in the middle... it looks like a mask for tab is not
resized...

What version of the product are you using? On what operating system?
flexlib 2.4 in flex 4 sdk

Please provide any additional information below.

Original issue reported on code.google.com by tristanl...@gmail.com on 20 Dec 2009 at 6:32

GoogleCodeExporter commented 8 years ago
Hi ,

It's the same issue as one in 129 ,

 here's what you've got to do solve this bug .
 In SuperTabNavigator.as you'll have to comment the following Lines and things will 
be fine after that your code will work Fine . . . . :):)

 tabBar.setStyle("tabWidth", NaN);

[Look for line number 916  in 
http://code.google.com/p/flexlib/source/browse/trunk/src/flexlib/containers/Supe
rTabN
avigator.as

[It's here too 
http://maheshgondi.wordpress.com/flexlib-supertabnavigator-patch-on-
issue-129/ :)]

Original comment by mahesh.d...@gmail.com on 3 Mar 2010 at 6:50