var nameGB = this.__nameGB = new qx.ui.groupbox.GroupBox(this.tr("Name"));
nameGB.setLegendPosition("middle");

var pfnTF = new qx.ui.form.TextField(this.tr("A full firstname"));

var doc = this.getRoot();

nameGB.setLayout(new qx.ui.layout.Basic());
nameGB.add(pfnTF);

doc.add(nameGB);

------------

The legend is more on the top than in the middle! Additonally the line is not 
broken!!! It goes through the label. Not very nice I think. Like the FieldSet 
in many other languages it is broken to give space for the label.

Stefan
                                          
------------------------------------------------------------------------------
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to