Hi, I''ve been working on a simple card game interface for a few days, and I can''t figure out how to get hidden frames and buttons to appear without minimizing/resizing the entire window. I''ve tried calling methods like "flush", "recalc" and "forceRefresh" but it doesn''t seem to change anything. I''m running my stuff on a windows box. Is there something obvious I''m missing? Thanks! -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/fxruby-users/attachments/20070305/f6cb9a53/attachment.html
I figured out what I was doing wrong - I wasn''t calling recalc on the object/frame that needed layout updating, I was calling it on the main window. It all makes sense now... On 3/5/07, Ray Cohen <raycohen at gmail.com> wrote:> > Hi, > > I''ve been working on a simple card game interface for a few days, and I > can''t figure out how to get hidden frames and buttons to appear without > minimizing/resizing the entire window. > > I''ve tried calling methods like "flush", "recalc" and "forceRefresh" but > it doesn''t seem to change anything. I''m running my stuff on a windows box. > Is there something obvious I''m missing? > > Thanks! >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/fxruby-users/attachments/20070306/982c7fde/attachment.html
On 3/5/07, Ray Cohen <raycohen at gmail.com> wrote:> I figured out what I was doing wrong - I wasn''t calling recalc on the > object/frame that needed layout updating, I was calling it on the main > window. It all makes sense now...See, I love it when people answer their own questions. ;) Please keep us posted on your card game -- that would be a cool example to be able to point folks to.