Hi Pito
Pito Salas wrote:> In other gui packages I have seen special ''debug modes''
on panels or
> frames which highlighted the specific placement and size of each window
> and subwindow (as determined by sizers) to help you visualize why things
> aren''t working as expected. Is there such a thing in wxRuby (or Wx
in
> general?)
Yes -
http://thread.gmane.org/gmane.comp.lib.wxwidgets.general/53232/focus=53233
I haven''t ever tried this myself. Also note that the distributed wxRuby
builds are based on RELEASE rather than DEBUG builds of Wx - so unless
you compile yourself this won''t be available.
It''s not a solution for everything, but trying things out in a GUI
designer can often help with the trickier bits of nesting, even if you
don''t use XRC for the final code.
cheers
a