I don't know if it's the best solution but I suggest setDelegate() for each
of your VirtualTrees where you can tune VirtualTreeItems creation:

var lightTree = new qx.ui.tree.VirtualTree();
lightTree.setDelegate({
        createItem : function() {
                var item = new qx.ui.tree.VirtualTreeItem(); // or even create 
an instance
of your own subclass of VirtualTreeItem
                item.setAppearance("virtual-tree-item-light");
                return item;
        }
});


var darkTree = new qx.ui.tree.VirtualTree();
darkTree.setDelegate({
        createItem : function() {
                var item = new qx.ui.tree.VirtualTreeItem();
                item.setAppearance("virtual-tree-item-dark");
                return item;
        }
});



--
View this message in context: 
http://qooxdoo.678.n2.nabble.com/Different-widget-appearance-inheritance-tp7585159p7585185.html
Sent from the qooxdoo mailing list archive at Nabble.com.

------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to