Hi,
I used to have this before:
qx.Class.define("Box", {
extend : qx.ui.layout.BoxLayout,
construct : function(orientacion) {
arguments.callee.base.apply(this, arguments);
this.auto();
},
});
Now I have changed it to use a custom appearance:
qx.Class.define("Box", {
extend : qx.ui.layout.BoxLayout,
properties: {
appearance: {
refine: true,
init: 'caja'
}
}
});
This is the 'caja' appearance:
'caja': {
style: function(states) {
return {
width: 'auto',
height: 'auto'
}
}
},
Why aren't they equivalent?
The 2nd one doesn't show boxes with an auto size.
Thanks for any clarification.
Regards
David
--
View this message in context:
http://www.nabble.com/Apperance-tf3982279.html#a11305268
Sent from the qooxdoo-devel mailing list archive at Nabble.com.
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel