[CLOSED] Gap between FieldContainer and HtmlEditor during hBox Layout

  1. #1

    [CLOSED] Gap between FieldContainer and HtmlEditor during hBox Layout

    Hello,

    I have a very simple layout like this:

                    <ext:FieldSet ID="FieldSet1" runat="server" Height="200" Title="<%# SR.GeneralInformation %>" Layout="VBoxLayout" >
                        <LayoutConfig>
                          <ext:VBoxLayoutConfig Align="Stretch" />
                        </LayoutConfig>
                        <Items>
                            <ext:FieldContainer ID="FieldContainer1" runat="server" HideLabel="true" CombineErrors="true" MsgTarget="None" Layout="HBoxLayout">  
                              <Defaults>
                                <ext:Parameter Name="labelAlign" Value="top" Mode="Value" />
                                <ext:Parameter Name="allowBlank" Value="false" Mode="Raw" />
                              </Defaults>
                              <Items>
                                <ext:TextField ID="Title" runat="server" FieldLabel="<%# TenderResource.TenderTitle %>" 
                                    Text="<%# Model.Title %>" AutoDataBind="true" Flex="1" />
                                <ext:TextField ID="TenderNumber" runat="server" FieldLabel="<%# TenderResource.TenderNumber %>"
                                    Text="<%# Model.TenderNumber %>" AutoDataBind="true" Width="120" Margins="0 5 0 5" />
                                <ext:TextField ID="InternalTitle" runat="server" FieldLabel="<%# TenderResource.InternalMemo %>" 
                                    Text="<%# Model.InternalTitle %>" AutoDataBind="true" Width="160" />
                              </Items>
                            </ext:FieldContainer>
                            <ext:HtmlEditor ID="Description" Flex="1" runat="server" FieldLabel="<%# TenderResource.TenderDescription %>"
                                Value="<%# Model.Description %>" AutoDataBind="true" EscapeValue="true" LabelAlign="Top" >
                            </ext:HtmlEditor>
                        </Items>
                    </ext:FieldSet>
    It is working fine expect of one aspect. Every time when I try to run this form, I see small gap between field container and html editor.
    Click image for larger version. 

Name:	2013-03-10_142635.png 
Views:	43 
Size:	6.0 KB 
ID:	5788
    I think this is somehow related with indicators, because when I try to click on the first field and then click on html editor, the first field shows that it should be filled in but the gap is disappears
    Click image for larger version. 

Name:	2013-03-10_142704.png 
Views:	37 
Size:	5.9 KB 
ID:	5789

    What should I do in order to remove this gap?

    Thanks,
    Alexander
    Last edited by Daniil; Mar 12, 2013 at 5:46 AM. Reason: [CLOSED]
  2. #2
    Hi,

    VBox layout requires Height or Flex property for each item, try to set Height for FieldContainer

Similar Threads

  1. [CLOSED] Use of HTMLEditor inside FieldContainer
    By cleve in forum 2.x Legacy Premium Help
    Replies: 4
    Last Post: Feb 20, 2013, 4:45 AM
  2. Replies: 2
    Last Post: Feb 21, 2012, 8:05 AM
  3. [CLOSED] Layout Frustration: Dynamic HBox inside fieldset
    By jwf in forum 1.x Legacy Premium Help
    Replies: 7
    Last Post: Jan 20, 2012, 8:40 PM
  4. [CLOSED] HBox Layout - Possible to wrap components?
    By rbarr in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Jul 18, 2011, 12:01 PM
  5. HBox Layout in IE7, bug?
    By David Pelaez in forum 1.x Help
    Replies: 3
    Last Post: Jan 24, 2011, 1:18 PM

Posting Permissions