[CLOSED] Label Editor ComboBox Jumps to left when Editor activated

  1. #1

    [CLOSED] Label Editor ComboBox Jumps to left when Editor activated


    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


    <html xmlns="http://www.w3.org/1999/xhtml">
    <head id="Head1" runat="server">
        <form id="form1" runat="server">
        <ext:ResourceManager ID="ResourceManager1" runat="server" /> 
        <ext:Store ID="BigStore" runat="server" AutoLoad="false" TotalProperty="rowCounter">
                <ext:Panel runat="server" Layout="FormLayout" LabelWidth="150" Title="Editor Jump Example">
                        Text="Some preselected "
                        FieldLabel="A label with editor"
                            <ext:Editor ID="Editor1" runat="server" Flex="1">
                                    <Template ID="Template2" runat="server">
                                            <tpl for="."><div class="search-item"><h3><span>{price},{fullAddress}</span></h3></div></tpl>
                                        <ext:FieldTrigger Icon="Clear" Qtip="Clear text"  />
    Last edited by Daniil; Sep 19, 2011 at 1:37 PM. Reason: [CLOSED]
  2. #2

    Please set Alignment="l-l" for the Editor.
    <ext:Editor runat="server" Alignment="l-l">
  3. #3
    Hi Daniil

    Thanks for the reply. That works perfectly in markup (although it didn't appear in intellisense). However, I need it to work in code behind, and if I try it there it

                Ext.Net.Editor editor = new Ext.Net.Editor();
                editor.Alignment = "l-l";
    "Property or indexer 'Ext.Net.Editor.Alignment' cannot be assigned to -- it is read only"

    Anything I can do about that?

    Kind regards

  4. #4
    It's a custom config option. Just we make all not existing property defined in markup as config item options.

    So, please add it to CustomConfig.
  5. #5
    Thanks Daniil,

    works perfectly.


Similar Threads

  1. [CLOSED] Label Editor - Different Editor types
    By rthiney in forum 1.x Premium Help
    Replies: 8
    Last Post: Nov 29, 2013, 3:34 AM
  2. [CLOSED] Label editor with a composite field
    By stratadev in forum 1.x Premium Help
    Replies: 4
    Last Post: Jul 24, 2012, 4:04 PM
  3. Replies: 1
    Last Post: Sep 24, 2011, 10:52 PM
  4. Replies: 0
    Last Post: Sep 04, 2011, 8:29 AM
  5. Replies: 3
    Last Post: Jun 18, 2009, 6:57 AM

Posting Permissions