Announcement

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

    changing the icons for a tabset

    SmartClient Version: v10.0p_2015-08-28/Pro Deployment (built 2015-08-28)

    I am trying to change icons for a tabset

    I want to change the default images from *.gif to *.png filetype.

    This is my skin JS code that have worked before but doesn't anymore.

    Code:
    if (isc.TabSet) {
                isc.TabSet.addProperties({
                    useSimpleTabs : true,
                    paneMargin:5,
                    closeTabIcon:"[SKIN]/TabSet/close.png",
                    closeTabIconSize:11,
                    scrollerSrc:"[SKIN]scroll.png",
                    pickerButtonSrc:"[SKIN]picker.png",
                    scrollerButtonSize:16,
                    pickerButtonSize:16,
                    tabBarThickness:28,
                    iconOrientation:"right",
                    showScrollerRollOver: true
                });
    }
    When I check the code in the browser all images in the icons are still set to defaults:

    Code:
    TabSet/hpicker.gif
    TabSet/hscroll_forward.gif
    TabSet/hscroll_back.gif

    #2
    Best guess is that something is changing these properties after your customizing code has run. Doing this before the default load_skin.js runs would likely do this.

    Alternatively you may be overriding your customizations on your actual tabset instances and thus losing these centralized changes.

    If neither of these suggestions makes the issue clear, we'll probably need a way to reproduce - we'd probably need to see your HTML file, your gwt.xml file and a very simple entry point class which simply defines and draws a tabset and demonstrates the problem.

    Regards
    Isomorphic Software

    Comment

    Working...
    X