RE: [Fxruby-users] FXSplitterWindow move splitter programatically
Status: Inactive
Brought to you by:
lyle
From: Steve T. <STU...@MU...> - 2004-01-13 17:35:46
|
Thanks, that did the trick! > -----Original Message----- > From: Lyle Johnson [mailto:jl...@cf...] > Sent: Tuesday, January 13, 2004 9:33 AM > To: Steve Tuckner > Cc: fxr...@li... > 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 |