zhangtaoeasy / flexlib

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

Close buttons do not show up in SuperTabNavigator #320

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create a new flex4 project in default ws containing a SuperTabNavigator
2. import the flexlib 2.5 for Flex 4 swc file
3.

What is the expected output? What do you see instead?
Expected tabs with button close butttons. Result is no buttons visibl. On hover 
over, get a rounded rectangle. 

What version of the product are you using? On what operating system?
Flex Builder 4, Flexlib 2.5 for Flex 4. Windows XP

Please provide any additional information below.

Original issue reported on code.google.com by leswools...@rogers.com on 11 Jul 2010 at 6:53

GoogleCodeExporter commented 9 years ago
Hi any updates on this issue 

Original comment by kannanmugundan@gmail.com on 18 Jul 2010 at 11:17

GoogleCodeExporter commented 9 years ago
i'm also getting same issue
abhishekchess1@gmail.com

Original comment by abhishek...@gmail.com on 19 Aug 2010 at 8:32

GoogleCodeExporter commented 9 years ago
I went back and just tried to rebuild the sample app and I can't get it to show 
the icons either.  Can someone provide a sample project (zip the directory) of 
the sample app so we can look at it and see why it works against the library 
and ours doesn't???

Original comment by leswools...@rogers.com on 23 Aug 2010 at 5:54

GoogleCodeExporter commented 9 years ago
I met this problem too! How can we fix this? So important for us... It only 
shows a blank small rectangle on the up right corner of the tabs ~~

Original comment by bolt...@gmail.com on 6 Oct 2010 at 2:48

GoogleCodeExporter commented 9 years ago
Was anyone able to fix this issue? Solution might be to write flex 4 skin 
component for this, however, flex 4 does not have TabNavigator anymore.

Original comment by rajvbhar...@gmail.com on 9 Oct 2010 at 12:04

GoogleCodeExporter commented 9 years ago
If anyone finds a solution to this, PLEASE e-mail me at jjgainer@gmail.com

Original comment by jjgainer@gmail.com on 25 Oct 2010 at 9:25

GoogleCodeExporter commented 9 years ago
My temp fix to this problem is to set a default style name for the close button 
in SuperTab.as (flexlib.controls.tabBarClasses) -- Modify the function 
createChildren() 

Add the line:
if(closeButton.styleName == null) closeButton.styleName = "tabCloseButton";

AFTER lines (around line 182):
// This allows someone to specify a CSS style for the close button
closeButton.styleName = getStyle("tabCloseButtonStyleName");

Original comment by splu...@gmail.com on 3 Nov 2010 at 4:06

GoogleCodeExporter commented 9 years ago
Thanks splucas, that seems to be the answer

Original comment by amazing....@gmail.com on 29 Nov 2010 at 6:35

GoogleCodeExporter commented 9 years ago
Thanks splucas!!!

Original comment by Gem...@gmail.com on 17 May 2011 at 5:13

GoogleCodeExporter commented 9 years ago
Thanks splucas

Original comment by saber.ch...@gmail.com on 8 Nov 2011 at 8:54

GoogleCodeExporter commented 9 years ago
thanks for your help, how do you do for always show the button, because only 
appear when you are roll over it

Original comment by publiven...@gmail.com on 2 Jan 2012 at 6:01