Sep 16, 2011, 3:55 PM
[CLOSED] Label Editor ComboBox Jumps to left when Editor activated
Hi
I have a little problem. In a much more complicated piece of code, I have created an label with a combo box as an editor. However, when I activate the editor, it jumps left and I would like to align the left of the editor to the left of the label. Is this possible? It has to be in a FormLayout incidentally.
The same happens in with the code snippet below.
Kind regards
Ian
I have a little problem. In a much more complicated piece of code, I have created an label with a combo box as an editor. However, when I activate the editor, it jumps left and I would like to align the left of the editor to the left of the label. Is this possible? It has to be in a FormLayout incidentally.
The same happens in with the code snippet below.
Kind regards
Ian
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
<title></title>
</head>
<body>
<form id="form1" runat="server">
<div>
<ext:ResourceManager ID="ResourceManager1" runat="server" />
<ext:Store ID="BigStore" runat="server" AutoLoad="false" TotalProperty="rowCounter">
<BaseParams>
</BaseParams>
<CustomConfig>
</CustomConfig>
<Proxy>
</Proxy>
<Reader>
</Reader>
</ext:Store>
<ext:Panel runat="server" Layout="FormLayout" LabelWidth="150" Title="Editor Jump Example">
<Items>
<ext:Label
ID="lbl"
runat="server"
Cls="editable"
OverCls="editable-over"
Text="Some preselected "
FieldLabel="A label with editor"
>
<Editor>
<ext:Editor ID="Editor1" runat="server" Flex="1">
<Field>
<ext:ComboBox
runat="server"
ID="innerCombo"
ItemSelector="div.search-item"
StoreID="BigStore"
Width="400"
>
<Template ID="Template2" runat="server">
<Html>
<tpl for="."><div class="search-item"><h3><span>{price},{fullAddress}</span></h3></div></tpl>
</Html>
</Template>
<Triggers>
<ext:FieldTrigger Icon="Clear" Qtip="Clear text" />
</Triggers>
<Listeners>
</Listeners>
</ext:ComboBox>
</Field>
</ext:Editor>
</Editor>
</ext:Label>
</Items>
</ext:Panel>
</div>
</form>
</body>
</html>
Last edited by Daniil; Sep 19, 2011 at 1:37 PM.
Reason: [CLOSED]