on 06-15-2007 2:50 PM
Hi, All:
I created 2 trays, within Tray 1, I created table 1 and wihin Tray 2, I create TextEdit field. I set colspan = 1 for tray 1 and set colspan = 2 for tray 2.
but the result looks like Tray 1 colspan =2, Tray 2 colspan = 1 as the following.
I want to tray 1 narrow and tray 2 wide. how to setup properties for tray 1/tray2/table1/TextEdit.
-
-t-r-a-y-1------- |
|
-table-1---- | -Textedit |
-
Thanks in advance
Victor
As an alternative,if you do not want to set the width in percentage then you can specify the width in terms of no of pixels on the screen.Eg: TRAY 1 can be of 100px and tray 2 of 200px..
You can customise exactly how your screen should look like if you do this.
Please award points if answers are helpful.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Victor,
Make the rootuielement container's layout as Grid Layout with colcount = 2, for having the two trays.
For tray1, make the width as 40% or something like that. For Tray 2, make the width as 60%. So you have Tray1 as narrow and Tray2 as the wider tray. Inside the trays, the elements can have 100% width. If you set the rootuielement container's width as 100%, it will span across the whole screen.
Hope this helps.
Regards,
Nithya
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It's a little confusing. But try this: create a transparent container, assign it to Gridlayout, assign the width to 100% colcount = 3. The move your trays inside of the container. If I understood you correctly, everything else should remain as you described above (perhaps may want to play with width attribute).
Edit: i actually opened the a WD and came back to fix my initial post.
Message was edited by:
Aleks Ozerov
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
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.