Re: [Fxruby-users] FXSplitterWindow move splitter programatically
Status: Inactive
Brought to you by:
lyle
From: Rich <ri...@li...> - 2004-01-14 04:01:38
|
What about when you need the splitter to give _equal_ space to each child - but you don't know how much that is to start, or how much it will be later? I'm looking for something like a FXMatrix widget with PACK_UNIFORM_WIDTH and the children with LAYOUT_FILL_X|LAYOUT_FILL_Y. Can you make the FXMatrix widget dynamically resizable by the user - something like FXSplitter is? -Rich ----- Original Message ----- From: "Lyle Johnson" <jl...@cf...> To: "Steve Tuckner" <STU...@MU...> Cc: <fxr...@li...> Sent: Tuesday, January 13, 2004 8:33 AM Subject: Re: [Fxruby-users] FXSplitterWindow move splitter programatically > Steve Tuckner wrote: > > > So here is my test program to try to do as your link says. What am I doing > > wrong? > > The two direct child widgets of the splitter are the vertical frames > (frame1 and frame2), and you want to set the height of the top frame > (frame1) to be 500 pixels; so instead of this: > > text1.setHeight 500 > > you need this: > > frame1.setHeight 500 > > Hope this helps, > > Lyle > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Perforce Software. > Perforce is the Fast Software Configuration Management System offering > advanced branching capabilities and atomic changes on 50+ platforms. > Free Eval! http://www.perforce.com/perforce/loadprog.html > _______________________________________________ > Fxruby-users mailing list > Fxr...@li... > https://lists.sourceforge.net/lists/listinfo/fxruby-users > |