flex-users / flexlib

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

Supertab custom close icon switches on and off with mouse over state #283

Open nicoulaj opened 13 years ago

nicoulaj commented 13 years ago

Originally filed by Jonbeesh on 2010-03-05T00:29:32

What steps will reproduce the problem?

  1. Define a custom close button style in CSS.
  2. define upSkin, overSkin, and downSkin in CSS as embedded files
  3. Define closePolicy as CLOSE_ALWAYS.

What is the expected output? What do you see instead? The custom close button should always be visible. Instead the custom close button is only visible on mouse over of the tab and the default is visible otherwise.

What version of the product are you using? On what operating system? 2.4, Mac OSX

Please provide any additional information below. In SuperTab.as on line 290 changing closeButton.enabled = false to true fixes the issue.