Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    TabSet.canAddTabs is broken

    Hi,

    When I enable canAddTabs on TabSet the rendered button is broken:
    • it's incorrectly positioned Click image for larger version

Name:	screenshot.png
Views:	37
Size:	4.3 KB
ID:	235374
    • mouse over requests a missing file from skin (actions/add_Over.png)


    To reproduce:
    1. Go to http://www.smartclient.com/#tabsAddAndRemove
    2. Add "canAddTabs: true" to TabSet
    3. Run script

    Version: v10.1p_2016-02-12/PowerEdition Deployment

    Edit:
    I tried adding a similar button via tabBarControls, and found out that documentation at http://www.smartclient.com/docs/rele...tabBarControls is broken: linked usage example doesn't exist, and using provided sample code generated a button that expects add_Over.png to exist.
    Last edited by Crack; 29 Feb 2016, 03:26.

    #2
    Hi,
    this bug has been already fixed, you'll find the fix applied on next nightly build.

    Thanks

    Comment


      #3
      Thanks.

      addTabButton is documentad as an AutoChild, but there's no addTabButtonProperties / addTabButtonDefaults. Can you make it a real AutoChild, so that I can override some properties? In my case I want to set prompt on addTabButton.

      Another bug: when I click on addTabButton SC tries to load isomorphic/skins/Graphite/images/actions/add_Down.png, which doesn't exist.

      Comment


        #4
        This problem is fixed now, the fix will be available since next nightly build on.

        Comment

        Working...
        X