List Info

Thread: layout/sizer problem




layout/sizer problem
user name
2006-03-10 13:33:48
Hi,

Click on the double-headed arrow to give the text controls
a stretch factor.

Regards,

Julian

At 13:27 10/03/2006, you wrote:
>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.
>
>
>;
>
>
>
>Yahoo! Groups Links
>;
>
>
>

==============================================================================
Julian Smart ;           ;           ;    juliananthemion.co.uk
28/5 Gillespie Crescent, Edinburgh,  http://www.anthemion.co.uk
Midlothian, U.K., EH10 4HU     ;        +44 (0)131 229 5306
Writer's Cafe: power tools for writers http://www.writerscafe.co.uk
HelpBlocks:    HTML help authoring    ; http://www.helpblocks.com
DialogBlocks:  cross-platform dialogs  http://www.anthemion.co.uk/dialogblocks
==============================================================================


[1]

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