Hi guys,

Another Qooxdoo newbie here :)

I'm using a Grid layout but the TextFields I'm adding appear to be
sticking to the edges of the grid, no matter what width I set them to
be. I'd like to have each TextField its own custom width to suit the
expected input.

A screenshot: http://pc.autons.net/stuff/qooxdoo-TextField-widths.png

Is there a setting I'm missing? Code snippet included below.

Thanks,

Pete.

---------

       box1.setLayout(new qx.ui.layout.Grid());

[...]

       var label7 = new qx.ui.basic.Label("City/Town: ");
       box1.add(label7, {row:6, column:0});
       var textField7 = new qx.ui.form.TextField("");
       box1.add(textField7, {row:6, column:1});
       textField7.set({width:200});

       var label8 = new qx.ui.basic.Label("State/Province: ");
       box1.add(label8, {row:7, column:0});
       var textField8 = new qx.ui.form.TextField("");
       box1.add(textField8, {row:7, column:1});
       textField8.set({width:100});

       var label9 = new qx.ui.basic.Label("Post/Zip Code: ");
       box1.add(label9, {row:8, column:0});
       var textField9 = new qx.ui.form.TextField("");
       box1.add(textField9, {row:8, column:1});
       textField9.set({width:50});


------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to