Recent Widgets


Register for DashboardWidgets

Recent Forums Posts

Partners


iCompositions

MacDesktops.net

RSS Showcase
RSS Comments
RSS Forums

This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies. Posted in: Widget Testing

Fullscreen Widgets

Author Message
Powermacguy



Joined: 07 Jul 2005
Posts: 122

Posted: Fri Aug 12, 2005 - 12:42 pm    Post subject: Fullscreen Widgets Reply with quote

Are there any tutorials on how to make a widget go fullscreen?
Because I have been playing around with the Stretcher Example and have been able to make it check the vertical height and when it streches it goes to the vertical height but i can't figure out how to make it go horizontal.
View user's profile Send private message Widgets
jonlink



Joined: 27 May 2005
Posts: 172

Posted: Sun Aug 14, 2005 - 11:27 pm    Post subject: Reply with quote

i haven't play much with the stretcher, but i don't think horizontal is a possibilty with the code as is.
View user's profile Send private message Send e-mail Widgets
Powermacguy



Joined: 07 Jul 2005
Posts: 122

Posted: Mon Aug 15, 2005 - 8:49 am    Post subject: Reply with quote

actually it is. And it REALLY EASY.
Code:

if(window.widget) {                           
window.resizeTo(screen.width+20,screen.height+20);      
   }

this sets it to fullscreen and adds 10 px to the sides and top
View user's profile Send private message Widgets
jonlink



Joined: 27 May 2005
Posts: 172

Posted: Mon Aug 15, 2005 - 8:58 am    Post subject: Reply with quote

that's not part of stretcher. how does it work with the widget? does it screw with the styles? i'm not sure what you are doing so i can't picture how it changes things.
View user's profile Send private message Send e-mail Widgets
Powermacguy



Joined: 07 Jul 2005
Posts: 122

Posted: Mon Aug 15, 2005 - 9:07 am    Post subject: Reply with quote

it just resizes to the current height width. My widget the BSoD widget takes advantage of that
View user's profile Send private message Widgets
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.

 
Powered by phpBB © 2001, 2002 phpBB Group