8 messages in com.googlegroups.google-desktop-developerRe: Changing the view height, with a ...| From | Sent On | Attachments |
|---|---|---|
| Steve Simitzis | 25 Mar 2008 20:44 | |
| Bijoy Thangaraj [API Guru] | 25 Mar 2008 23:21 | |
| Steve Simitzis | 25 Mar 2008 23:52 | |
| Teo | 26 Mar 2008 00:01 | |
| Steve Simitzis | 26 Mar 2008 00:42 | |
| Steve Simitzis | 26 Mar 2008 01:30 | |
| Teo | 26 Mar 2008 03:17 | |
| Steve Simitzis | 26 Mar 2008 14:54 |
| Subject: | Re: Changing the view height, with a twist![]() |
|---|---|
| From: | Steve Simitzis (satu...@gmail.com) |
| Date: | 03/25/2008 11:52:50 PM |
| List: | com.googlegroups.google-desktop-developer |
hmmmm are you sure about that? I'm looking at the gadget now, and it doesn't change its height at all.
On Mar 25, 11:21 pm, "Bijoy Thangaraj [API Guru]" <jspl...@gmail.com> wrote:
Hi Steve,
You can check out the source of Teo's
Daisy-gadget:http://desktop.google.com/plugins/i/daisygadget_teominat.html?hl=en
That resembles closely with what you intend to do.
Thanks and Regards, Bijoy Thangaraj
On Mar 26, 8:45 am, Steve Simitzis <satu...@gmail.com> wrote:
So I have a gadget the occasional needs to pop up some divs above the gadget. The divs can be of variable height, as they contain text and possibly image data from the web.
To accomplish this, I was thinking I could resize the view height. This is pretty straightforward, if one uses view.resizeBy().
However, if I resize the view, the new height exists *underneath* the current height, rather than above. The only way for the new popup divs to appear above the gadget would be to resize the view, then push the gadget's main div down by the same amount that I increase the view by.
The result of this just looks weird. When new data appears, the gadget moves down, rather than the new data appearing above the gadgets.
Ideally I could move the view's y coordinate by the same number of pixels that I move the height (the maintain the appearance of the gadget staying in place), but it doesn't seem possible.




