List Info

Thread: layout/sizer problem




layout/sizer problem
user name
2006-03-10 13:27:13
Hi!
Me again, sorry.
I want to layout a dialog in the way drafted below:

|-------------------------------------------
| wxButton wxButton wxText(single;auto exp)|
|------------------------------------------|
| wxButton  |         ;           ;          |
| wxButton  |         ;           ;          |
| wxButton  |         ;           ;          |
| wxButton  |         ; wxText          ;    |
| wxButton  |       (multi line) ;          |
| wxButton  |         ;           ;          |
| wxButton  |        auto expand          ; |
| wxButton  |      height & width ;         |
| wxButton  |         ;           ;          |
--------------------------------------------

Within DB I tried it like this:

Dialog
->;wxBoxSizer V
-->wxBoxSizer H
--->wxButton
--->wxButton
--->;wxText(single) hor. expand
-->wxFlexGridSizer(c2r1)
--->;wxBoxSizer V
---->;wxButton
---->wxButton
---->wxButton
---->wxButton
--->wxText(multi) hor.& ver. expand

But I have the problem, that the wxTextCtrls don't expand themselves
automatically.
How to do that? Do I have to layout this stuff by myself or do I use
the sizers in a wrong way?

Thanks a lot,
Yves.



[1]

about | contact  Other archives ( Real Estate discussion Medical topics )