7 messages in com.googlegroups.google-desktop-developerRe: view.resizable, zoom, true| Subject: | Re: view.resizable, zoom, true![]() |
|---|---|
| From: | Teo (teom...@gmail.com) |
| Date: | 06/21/2008 09:31:12 AM |
| List: | com.googlegroups.google-desktop-developer |
I don't think i understand :D Why not explicitly call the onSize/onSizing function explicitly when you change the zoom property?
Thanks, Teo
On Fri, Jun 20, 2008 at 11:36 PM, pop <pop....@gmail.com> wrote:
Sorry, what I mean in my first post is onsize and onsizing, not onresize or onresizing.
onsize() and onsizeing() will not be trigged when view.resizable="zoom"
thanks,
Pop
On Jun 20, 4:15 pm, Teo <teom...@gmail.com> wrote:
Hi,
have you tried with onSize and onSizing?
Thanks, Teo
On Fri, Jun 20, 2008 at 9:12 PM, pop <pop....@gmail.com> wrote:
right now, it has three options: false, true, zoom
Is there a way to switch between zoom and true dynamically?
zoom is good when gadget estate is smaller than required because the framework will auto-scale the size for the gadget.
true is good when gadget estate is larger than required because the gadget can get notified by onresize() or onresizing().
I would like to: first, set view.resizable=true, then switch view.resizable to zoom when the actual window size is smaller than a predefined value, and switch view.resizable back to true if actually window size is equal or larger than the predefined value.
I can not find a way to get the actual window size when view.resizable=zoom because neither onresize() nor onresizing() is triggered in this case.
Please advise.
Thanks,
Pop
-- Teo (a.k.a. Teodor Filimon, Teominator) Site -www.teodorfilimon.com| Blog -www.teodorfilimon.blogspot.com GMT +2
-- Teo (a.k.a. Teodor Filimon, Teominator) Site - www.teodorfilimon.com | Blog - www.teodorfilimon.blogspot.com GMT +2
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Desktop Developer Group" group.
To post to this group, send email to Goog...@googlegroups.com
To unsubscribe from this group, send email to
Goog...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/Google-Desktop-Developer?hl=en
-~----------~----~----~----~------~----~------~--~---




