Re: [qooxdoo-devel] Apperance

2007-06-28 Thread Sebastian Werner
Some properties need to be initialized to work correctly. This is true for all dimension and location properties for example. These properties need their apply routine to be executed. Even for the initial value. You can do this by executing: this.initWidth(); this.initHeight(); inside the cons

Re: [qooxdoo-devel] Apperance

2007-06-26 Thread dperez
Hi, With this 3rd form, I get same results as 2nd one: qx.Class.define("Caja", { extend : qx.ui.layout.BoxLayout, properties: { width: { refine: true, init: 'auto' }, height: {

[qooxdoo-devel] Apperance

2007-06-26 Thread dperez
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 appearanc