on 11-14-2013 12:58 PM
I have created two groups and there width is not same,So the UI does not look good. The reason for this is that in one group there are 20 fields(elements) aligned in two columns one by one.So, it becomes wider.But Group 2 has only one field so the width is not getting set according to the first one.
Any suggestions please ?
let me know if you need any more clarification.
Hi Vimal,
Group UI elements have a width property which you can use to set the width of a Group to a specific dimension. Just make sure the width is large enough to include all elements inside the Group, otherwise the Group will stretch to accommodate its elements.
In the example below I have assigned a width of 30ex to each Group.
Cheers,
Amy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Chandra,
EX is similar to EM in that it references a dimension relative to the current font. In general, 1em is the size of a capital letter M in the current font (which is how it got its name), and 1ex is half the size of 1em.
PX stands for pixels, so a dimension given in pixels remains the same regardless of the font. A more complicated explanation can be found here: W3Schools: CSS Units
Cheers,
Amy
As "Amy" suggested please provide same width to both group and that same width should be half of the root container(Parent of Groups), Half width when only two group you need to show row-wise , if all UI coming properly. Otherwise rest of UI will be disturbed..
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.