July 25th, 2007 | Published in Google Desktop API
For a resizable gadget, it's often easiest to set the width or height of inner elements to 100%. That way when the view or outer element is resized, the inner elements adjust size accordingly. For example:
<div width="50" height="50">When the div's size changes, the label is automatically resized to match the div.
<label width="100%" height="100%" size="8"></label>
Have a tip you'd like to share? Send it to gd-developer AT google DOT com.