Hey., Wagner here I'm with another doubt.. Hope U may have better
idea..My problem is resize the gadget..


I'm doing something like this........
/*******************/

main.xml
-----------------------
<view height="150" resizable="true" width="250"  >
  <div height="152" name="mainDiv" width="250" x="0" y="-1"
background="#00CCEE"/>
  <img height="151" name="img" width="250" x="-1" y="0"
src="stock_images\background.png"
   />
   <script src="main.js" />

</view>
____________________________________________
and in main.js
-----------------------
var width = view.width;
var height = view.height;


div.x= width- div.width; //div.width = width-div.width;
div.y = height-div.height; //div.height = width-div.height;

/*******************/

where i'm missing logic..??

-- 
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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-desktop-developer?hl=en.

Reply via email to