Resize gadget window

209 views
Skip to first unread message

Artem Yunusov

unread,
Jul 12, 2009, 7:46:42 AM7/12/09
to Realtime Gadgets
Hello,

I'm writing simple game gadget and default window size is not enough
for it, Is it possible to resize gadget window using API ?

Regards,
Artem

moi...@google.com

unread,
Jul 12, 2009, 8:28:46 PM7/12/09
to Realtime Gadgets
You can specify the width & height of the gadget in the ModulePrefs
section of the gadget xml file. The build to enable this may not be in
prod yet but, if it isn't, it will be this week.

(it might not be obvious, but you can resize the gadget windows
manually too, just by dragging the borders)

Artem Yunusov

unread,
Jul 13, 2009, 1:24:43 AM7/13/09
to Realtime Gadgets
Thanks, seems that it's not in production yet, because I did it before
with no effect.
Resizing with mouse works fine, but it's not good to force user to do
it every time :) Everybody, with whom I tested the gadget didn't
noticed resize functionality by themselves.

Regards,
Artem

moi...@google.com

unread,
Jul 13, 2009, 1:42:50 AM7/13/09
to Realtime Gadgets
Yeah, totally agreed that people don't see that they can resize the
windows themselves. Sit tight for a few days and handling for the
width & height will be supported.

Want to share what you're working on? I'm working on getting a
directory for realtime gadgets so there's a more formal place to
share, but I would love to see what you and everyone else are coming
up with! Any feedback about the API or its implementation?

Thanks-

-Moishe

Artem Yunusov

unread,
Jul 21, 2009, 3:25:17 AM7/21/09
to Realtime Gadgets
Hi Moishe,

Is resize functionality available in sandbox ?

Regards,
Artem

moi...@google.com

unread,
Jul 21, 2009, 6:47:56 PM7/21/09
to Realtime Gadgets
Not yet :(

Missed the cutoff for the current build, but it should be there by the
middle of next week.
Reply all
Reply to author
Forward
0 new messages