Announcement

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

    Mix css3 and "old" style components?

    Hello there,

    not super-versed in your "new" css3-skinning process, so i'd really appreciate some pointers.

    I have a custom based skin, derived from your old version Enterprise. I customize my tabsets+tabs with a custom Java class:

    Code:
    public NubaTabSet() {
            setScClassName("NubaTabSet");
        }
    
    public Tab addTab(String name, Canvas pane) {
            NubaTab tab = new NubaTab(name);
            tab.setAttribute("skinImgDir", "[SKIN]/images/NubaTab/top/");
            tab.setPane(pane);
            addTab(tab);
            return tab;
        }
    i then had code in the load_skins.js to create this stuff:
    Code:
    isc.defineClass("NubaTabSet", "TabSet");
            if (isc.NubaTabSet) {
                isc.NubaTabSet.addProperties({
                    paneContainerClassName: "nubatabsetcontainer",
                    styleName: "nubatabset",
                    tabBarProperties: {
                        layoutStartMargin: 180,
                        baseLineConstructor: "StretchImg",
                        baseLineProperties: {
                            src: "[SKIN]baseline.png",
                            capSize: 10
                        }
                    }
                })
            }
    I then had images, of course, that made my tabs look like i want.


    Now, my problem is that if i turn on css3, all of this config is ignored, and right now, i'm not well versed enough with css3 to be able to quickly turn my images into css3-code.

    So, i'm wondering, is there anyway to "mix up" the new css3-code from you with a custom tab class that uses my "old" skinning?

    Pointers much appreciated.
Working...
X