on 07-06-2006 10:13 PM
I have a transparent container that contains two other group containers. Each group container contains a form, with fields of varying width. The two child containers should be displayed in a column form, one above the other.
What I would also like is for the smaller container (width-wise) to stretch horizontally to fill the space so as to match the width of the other child container. In other words, I want something like this:
+----------+
|+--------+|
|| GC-1 ||
|+--------+|
|+--------+|
|| GC-2 ||
|+--------+|
+----------+
However, try as I might, I get this sort of display:
+----------+
|+--------+|
|| GC-1 ||
|+--------+|
|+------+ |
|| GC-2 | |
|+------+ |
+----------+
Which, due to the color scheme, looks bloody awful.
Is there any way to get group container 2 (GC-2) to stretch horizontally to the width of the parent transparent container?
I've tried various layouts, with no success, so suggestions are most welcome.
Use a MatrixLayout and set MatrixHeadData.width=100% for both contained "cells".
Armin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Try this:
RootUIElementContainer - GridLayout, colCount=1, width=500px.
Goup1 - FlowLayout, colSpan=1, width=100%.
Group2 - FlowLayout, colSpan=1, width=100%.
Regards,
Satyajit.
Message was edited by: Satyajit Chakraborty
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
You set the Property width of both the child groups to the same value say 500px.
Regards,
Ajay
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hai Ken,
just add <u>invisible elements</u> in each row at the end. You can set the property width to the end.
Hope it helps you.
Bye,
Siva
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.