I solved it by creating a new widget that combined a label and an edit box
together using a BoxLayout as the container. Then you can add that new
object to a BoxLayout to have more then one lined up.
And if you don't want to create a new control, simply add the label and the
edit to a BoxLayout before adding it to your other BoxLayout that controls
the column. The advantage of creating a new control is that you can control
the position of the edit control and when you line them up you can have the
edit controls all left aligned regardless of the size of the label.

Jim Hunter
www.D4PHP.org
www.D4PHP-Hosting.com
www.DiamondComputing.com


On 4/19/07, Joe Hudson <[EMAIL PROTECTED]> wrote:

Thank you very much Christian

Joe

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Christian
Boulanger
Sent: Thursday, April 19, 2007 10:01 AM
To: qooxdoo Development
Subject: Re: [qooxdoo-devel] Can I do 2 column [label, input field] with
box
layout

Hi Joe,

just wait a little, and qxtransformer will come to your rescue - there,
its

<qx:gridLayout>
    <qx:gridLayoutRow>
          <qx:qridLayoutCell>
                <qx:label text="buh!"/>
          </qx:gridLayoutCell>
    </qx:gridLayoutRow>
<qx:gridLayout>

But you can also just use the corresponding GridLayout class and
manually attache widgets to named rows and columns...

Cheers,

Christian

Joe Hudson schrieb:
>
> I've been trying with combinations of HorizontalBoxLayout /
> VerticalBoxLayout but can't seem to get this to work.  How, using
> qooxdoo, could I replicate the following htmo?
>
> <table>
>
>         <tr>
>
>                 <td>
>
>                         Some Label
>
>                 </td>
>
>                 <td>
>
>                         <input type="text" name="foo"/>
>
>                 </td>
>
>         </tr>
>
>         <tr>
>
>                 <td>
>
>                         Another Label
>
>                 </td>
>
>                 <td>
>
>                         <input type="text" name="bar"/>
>
>                 </td>
>
>         </tr>
>
> </table>
>
> Thank you very much.
>
> Joe Hudson
>
>
> --
> No virus found in this outgoing message.
> Checked by AVG Free Edition.
> Version: 7.5.446 / Virus Database: 269.4.0/762 - Release Date:
> 4/15/2007 4:22 PM
>
>
> ------------------------------------------------------------------------
>
>
-------------------------------------------------------------------------
> 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
>


-------------------------------------------------------------------------
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

--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.446 / Virus Database: 269.4.0/762 - Release Date: 4/15/2007
4:22 PM


--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.446 / Virus Database: 269.4.0/762 - Release Date: 4/15/2007
4:22 PM



-------------------------------------------------------------------------
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

-------------------------------------------------------------------------
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

Reply via email to