[wxruby-users] wxruby, XRC, DialogBlock

Joshua Lefkowitz lists at ruby-forum.com
Thu Mar 6 19:48:58 EST 2008


Alex Fenton wrote:
> Joshua Lefkowitz wrote:
>> The code works, but I still do not see the buttons in the window that I 
>> produce.  I followed the wiki as instructed from start to finish.  Is 
>> there some functionality I was supposed to give to the buttons that 
>> perhaps I didn't?
> Your buttons and the textctrl need to be arranged in a Sizer. In
> DialogBlocks you should see in the palette of addable elements a
> "Sizers" tab. Add a vertical sizer to the main frame. Then, in order,
> add the TextCtrl and the two buttons to it.
> 
> I guess the tutorial should be more explicit about this but I'd think
> that the result you have at the moment doesn't look right in the preview
> shown in DialogBlocks?
> 
> alex

I'll play with it and I think I can figure it out from what you wrote. 
I think these types of problems--where you're not explicit about 
something--is more an issue for people like me who are really new to 
programming and trying to teach themselves everything.  People who have 
experience with programming probably would have picked up on this issue. 
I'll let you know the results.  Thanks.
-- 
Posted via http://www.ruby-forum.com/.


More information about the wxruby-users mailing list