[wxruby-users] wxruby, XRC, DialogBlock
Alex Fenton
alex at pressure.to
Thu Mar 6 19:35:05 EST 2008
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
More information about the wxruby-users
mailing list