2 messages in com.googlegroups.google-desktop-developerLabel-width in sidebar not automatica...
FromSent OnAttachments
rkra...@googlemail.com23 May 2007 09:20 
James [GD Team]28 May 2007 17:05 
Subject:Label-width in sidebar not automatically adapted
From:rkra...@googlemail.com (rkra@googlemail.com)
Date:05/23/2007 09:20:46 AM
List:com.googlegroups.google-desktop-developer

Hi,

I have a simple question, but I could not find anywhere an answer:

I make a gadget using the gadget-designer with resizable=true. Into the view I add an multiline-label with width=100% and wordwrap=true.

When I'm resizing the gadget by mousedraggin everything works fine. Esp. when I'm changing the width the text re-wraps.

The problem is when the gadget ist newly opened in the sidebar. I It sticks with the "pixel-width" of the view (200) and not the width of the sidebar so that the text is clipped. It's the same when you switch from deskbar to sidebar.

(When im hooking into the onSize/onSizing the view.width in this cases is still 200, so that I coudln't even set the label.width manually.)

Any ideas? Thank, Rüdiger