[OPEN] [#1297] [3.3.0 / 4.0.0-rc] Flex in FieldContainer with HBox-layout doesn't work

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1

    [OPEN] [#1297] [3.3.0 / 4.0.0-rc] Flex in FieldContainer with HBox-layout doesn't work

    In the following example the TextField inside Field2 should be stretched to fit the width, but it doesn't happen:

        Html.X().Panel()
            .Layout(LayoutType.Form)
            .Items(
                
                Html.X().TextField()
                    .FieldLabel("Field1")
                ,
                Html.X().FieldContainer()
                    .FieldLabel("Field2")
                    .Layout(LayoutType.HBox)
                    .Items(
                        Html.X().TextField().Flex(1)
                    )
            )
    Last edited by fabricio.murta; Mar 29, 2016 at 4:31 AM.

Similar Threads

  1. Replies: 21
    Last Post: Apr 27, 2016, 2:40 AM
  2. Replies: 6
    Last Post: Apr 27, 2016, 12:56 AM
  3. [CLOSED] HBoxLayout doesn't work inside of FieldContainer
    By Svr77 in forum 2.x Legacy Premium Help
    Replies: 6
    Last Post: Apr 10, 2013, 7:57 PM
  4. Replies: 1
    Last Post: Mar 10, 2013, 3:00 PM
  5. Replies: 4
    Last Post: Feb 09, 2010, 6:14 PM

Posting Permissions