There is one more problem with Layout. Currently default in framework we have [1]. It means that:
My content of FormItem will be vertical and IBeadLayout is basically ignored at some point. If I specify beads - HorizontalLayout as it is in above example it will be taken as a primary and I have my content laying out horizontally. The question is - what is for IFormItemLayout in default.css? Is it a bug? [1] https://paste.apache.org/rV0K śr., 23 sty 2019 o 15:46 Piotr Zarzycki <[email protected]> napisał(a): > Hi Carlos, > > I'm was trying to change FormItem to be Vertical oriented. In general I > would like to have following view. Label of FormItem is on the top and in > the bottom is content. > > [image: image.png] > > Code for that will looks like that [1]. Results is following: > > [image: image.png] > > It happened cause Label and required star label are different components - > everything is being laying out vertically. What is your suggestion to fix > that ? > > Mine is wrapping "First name" and "*" into one Group with HorizontalLayout. > > More thoughts are welcome. I hope you see screenshots. :) > > [1] https://paste.apache.org/5odt > > Thanks, > -- > > Piotr Zarzycki > > Patreon: *https://www.patreon.com/piotrzarzycki > <https://www.patreon.com/piotrzarzycki>* > -- Piotr Zarzycki Patreon: *https://www.patreon.com/piotrzarzycki <https://www.patreon.com/piotrzarzycki>*
