« Return to Thread: Learning FXRuby please help!

Re: Learning FXRuby please help!

by Lyle Johnson-4 :: Rate this Message:

Reply to Author | View in Thread


On Jun 24, 2009, at 3:05 AM, Marlene Phillips wrote:

> All of this is still rather confusing. So now I tried to layout the
> yesWindow on the bottom of the screen with a LAYOUT_BOTTOM when I  
> define
> the yesWindow, but it still appears immediately under my buttons. Any
> clues what's happening there?

Replace LAYOUT_BOTTOM with LAYOUT_SIDE_BOTTOM:

        @yesWindow = FXHorizontalFrame.new(self,
                :opts => FRAME_GROOVE|LAYOUT_FILL_X|LAYOUT_SIDE_BOTTOM)

Hope this helps,

Lyle
_______________________________________________
fxruby-users mailing list
fxruby-users@...
http://rubyforge.org/mailman/listinfo/fxruby-users

 « Return to Thread: Learning FXRuby please help!