List Info

Thread: updating layout




updating layout
user name
2007-03-05 22:24:08
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!
Re: updating layout
user name
2007-03-05 23:27:57
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 < raycohengmail.com">raycohengmail.com> wrote:
Hi,

I&#39;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&quot; 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!

Re: updating layout
user name
2007-03-06 06:44:47
On 3/5/07, Ray Cohen <raycohengmail.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.
_______________________________________________
fxruby-users mailing list
fxruby-usersrubyforge.org
ht
tp://rubyforge.org/mailman/listinfo/fxruby-users

[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )