on 03-03-2016 1:14 PM
Hey,
I'm working on a WD right now and I need to place a few UI elements in the right side of the WD and the rest on the left side for example.
I know how to group elements but I don't know how to place them to the right side of the screen. I thought about the MatrixLayout and put the elements into a specific cell. But I can't find out where to selected in which cell the elements should be placed.
To sum it up:
"How can I place UI elements in a WD on the right side of the screen and other elements on the left side?"
Does it work with the MatrixLayout, and how?
Should I use something else than the MatrixLayout?
I'm very thankful for every hint
Hi,
You can create two transparent containers, put one on the left and the other on the right, and place inside the elements you want...
You can play with the property VGutter of the containers to separete them a bit
---
Or if you want to align the element to the right side of the screen you can try the following;
First put in your transparent container the property width with the value 100%.
If you have two elements in the same line in your transparent container. In the first one (at the left) change the value of the property Width (within the "Layout Data (MatrixHeadData)" panel) to 80% for example. With this you can see the other element is displaced to the right...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ok so I'm going to experiment a bit with the transparent container and the align-attribute.
Looks quite good now.
Thanks for the hint!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Have you tried the same using Grid Layout?.
Try to place the elements which you want to display it at the right side in transparent container and set the alignment as right and remaining as left as per your requirement.
Hope this gives you an idea.
Thanks
KH
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
79 | |
9 | |
9 | |
7 | |
7 | |
6 | |
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.