Aug 24, 2011, 11:30 PM
[CLOSED] add text field to hboxlayout
Hi,
I am think how I can add two text fields to the HBoxLayout tag, this is what I have, it will render the text fields, but the text fields is showing in two rows
So how can I add two text fields to the hboxlayout and make them stay in the same row. Thanks.
I am think how I can add two text fields to the HBoxLayout tag, this is what I have, it will render the text fields, but the text fields is showing in two rows
<ext:HBoxLayout ID="HBoxLayout1" runat="server">
<Content>
<ext:TextField ID="TextField7" runat="server" FieldLabel="test" Width="210" LabelWidth="30"
AllowBlank="false" MsgTarget="side">
</ext:TextField>
<ext:TextField ID="TextField1" runat="server" FieldLabel="test" Width="210" LabelWidth="30"
AllowBlank="false" MsgTarget="side">
</ext:TextField>
</Content>
</ext:HBoxLayout>
when I tried to enclose the text field in <Items> instead of <Content>, the page throws an exception (The 'Items' property cannot be set declaratively).So how can I add two text fields to the hboxlayout and make them stay in the same row. Thanks.