Hi,

I can not reproduce the issue on a short example. In fact, I added a 
label at the top of the widget and it is aligned on the left. BUT the 
form below is aligned on the right. The same in a new application does 
not give the same result. The strange thing is I do not tell anywhere to 
align widget (or labels) on the right.

The renderer setAlignX method does not work too.

qx.Class.define("isaq.SubjectWidget",

{

   extend : qx.ui.core.Widget,

   construct : function()

   {

     this.base(arguments);

     this.set({paddingTop : 10, paddingBottom : 10});

     // Setting the layout

     var layout = new qx.ui.layout.VBox(10);

     this._setLayout(layout);

     this._add(new qx.ui.basic.Label("Enter data for an individual"));

     // Setting the form and the resetter

     var form = new qx.ui.form.Form();
     

     var id = new qx.ui.form.TextField();

     id.setRequired(true);

     form.add(id, this.tr("Identifier"), null, "identifier");

     resetter.add(id);

     fields = ["Population", "Genotype", "Phenotype", "Origin"];

     for (i=0; i<fields.length; i++) {

       var textfield = new qx.ui.form.TextField();

       form.add(textfield, fields[i], null, fields[i]);

       resetter.add(textfield);

     }

     

     var controller = new qx.data.controller.Form(null, form);

     var model = controller.createModel();

     var sendButton = new qx.ui.form.Button(this.tr("Send"));

     form.addButton(sendButton);


     var resetButton = new qx.ui.form.Button(this.tr("Reset"));

     form.addButton(resetButton);


     // Rendering

     var renderer = new qx.ui.form.renderer.Single(form);

     this._add(renderer);

   },

});



Le 26/09/2012 09:19, hagendorn a écrit :
> Hi,
>
> could you please provide a short playground example to reproduce your issue?
>
> Cheers,
> Chris
>
>
>
> --
> View this message in context: 
> http://qooxdoo.678.n2.nabble.com/Reluctant-widget-tp7581463p7581476.html
> Sent from the qooxdoo mailing list archive at Nabble.com.
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to