flex-users / flexlib

Open Source Flex components library.
github.com/flex-users/flexlib
MIT License
206 stars 88 forks source link

Close buttons do not show up in SuperTabNavigator #320

Open nicoulaj opened 13 years ago

nicoulaj commented 13 years ago

Originally filed by leswools...@rogers.com on 2010-07-11T18:53:49

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

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.

nicoulaj commented 13 years ago

Updated by kannanmugundan on 2010-07-18T11:17:17

Hi any updates on this issue

nicoulaj commented 13 years ago

Updated by abhishek...@gmail.com on 2010-08-19T08:32:46

i'm also getting same issue abhishekchess1@gmail.com

nicoulaj commented 13 years ago

Updated by leswools...@rogers.com on 2010-08-23T17:54:43

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???

nicoulaj commented 13 years ago

Updated by bolt...@gmail.com on 2010-10-06T02:48:13

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 ~~

nicoulaj commented 13 years ago

Updated by rajvbhar...@gmail.com on 2010-10-09T00:04:47

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.

nicoulaj commented 13 years ago

Updated by jjgainer on 2010-10-25T21:25:14

If anyone finds a solution to this, PLEASE e-mail me at jjgainer@gmail.com

nicoulaj commented 13 years ago

Updated by splu...@gmail.com on 2010-11-03T16:06:39

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");

nicoulaj commented 13 years ago

Updated by amazing....@gmail.com on 2010-11-29T18:35:20

Thanks splucas, that seems to be the answer

nicoulaj commented 13 years ago

Updated by Gem...@gmail.com on 2011-05-17T17:13:18

Thanks splucas!!!