on 2016 Jul 07 10:06 PM
Thanks in advance.
Regards,
S.Jain
Request clarification before answering.
Hi S.Jain,
Is this application going to be desktop / tablet specific. If so, you can make use of HBox / VBox controls combination with some CSS to set the margins.
I have tried to build a sample and I got this as output:
You can check the code here: Plunker
Also in the above sample, values are bound to model. So, if you press 'Zuruck' button, you can check all the values in alert.
Regards,
Sai.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sai,
Thank you for your inputs, its really valuable. But i have a concern about responsiveness. Application will be used for mobile and tablet purpose too so design doesn't seem to be responsive. It will look like this on small screen.
This application is going to support many languages so if we design form by traditional way using 'ResponsiveGridLayout' We can achieve responsiveness but after translation if label is too long then it shows 3 dots in label so we have designed layout in this way where label is on top of input field. Could you please suggest how can i achieve responsiveness too for mobile/tablet purpose.
Regards,
Jain.
You can change the layout property to layout="ColumnLayout" and set
maxContainerCols="2". It should render the form with labels on top.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Did you try using the responsive layout and then setting your columns accordingly to size such that it "forces" your labels on top?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
72 | |
21 | |
9 | |
7 | |
6 | |
6 | |
4 | |
4 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.