Hi flj, in Appearance.js there are four entries defining the appearance of a splitpane and its child controls (splitter, slider and knob). The default splitter is defined in terms of width/height plus a background color:
"splitpane/splitter" : { style : function(states) { return { width : states.horizontal ? 3 : undefined, height : states.vertical ? 3 : undefined, backgroundColor : "background-splitpane" }; } } Instead of this very basic definition you can easily define a custom decorator, e.g. "splitpane/splitter": { style: function(states) { return { decorator: states.horizontal ? "splitter-horizontal" : "splitter-vertical" }; } } This way you can do whatever is possible with the various decorator classes available in qooxdoo. The same applies to the slider and knob child controls, of course. I'm currently working on a new theme contribution which isn't quite finished yet but you can have a look at the preliminary demo application which, among other things, features a custom splitter: http://scro34.de/qx/silverblue/. If you need more information as to how to manipulate the splitter's appearance, just let me know. Cheers, Norbert > Hi. > > I have to build a custom theme. I'm stuck with an issue: how can I modify the > appearance of splitters? According to the documentation, the splitter has no > specific appearance (its appearance is "widget"), and after spending a few > quite frustrating hours trying to set an appearance from code and define it > properly in the theme files, I got nowhere. > > Whereas I was trying to use a double decorator and custom colors, all I > managed to do is make the splitpane's borders thicker and the splitter of > just 1px. Colors didn't show up at all. > > My approach was to get the child controls "splitter" and "slider" and set the > appearance on them. Didn't seem to work - there was no exception thrown but > the attributes of the custom appearance didn't show on them either. > > br, > > flj > > > ------------------------------------------------------------------------------ > Protect Your Site and Customers from Malware Attacks > Learn about various malware tactics and how to avoid them. Understand > malware threats, the impact they can have on your business, and how you > can protect your company and customers by using code signing. > http://p.sf.net/sfu/oracle-sfdevnl > _______________________________________________ > qooxdoo-devel mailing list > qooxdoo-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel > ------------------------------------------------------------------------------ Protect Your Site and Customers from Malware Attacks Learn about various malware tactics and how to avoid them. Understand malware threats, the impact they can have on your business, and how you can protect your company and customers by using code signing. http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ qooxdoo-devel mailing list qooxdoo-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel