Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Vertical resize stretches "window" but not content



At 8:54 AM -0600 5/20/05, Nick Zitzmann wrote:
But if the widget is resized vertically, the "window" grows and shrinks, but the contents of the window do not expand _or_ contract. So if the widget is resized purely vertically to a smaller size, not only does the content get cut off, but the resize control eventually disappears because it & everything else didn't contract.

I just noticed that the Wikipedia widget is demonstrating the same behavior. Try resizing it to its minimum horizontal size and then resizing it vertically. When the bottom of the widget has its content go off the bottom of the "window", then resize it horizontally and the content will be correctly resized. There's got to be some way around this problem, but what do we need to do?

Check your .css file. You should tie the body margins to the window margins, and pin the location of the grow box to the bottom-right corner. I pulled these out of Grid.css:


	body {
		margin:0;
	}

	#growbox {
		position:absolute;
		right: 2px;
		bottom: 2px;
		-apple-dashboard-region: dashboard-region(control rectangle);
	}

-Ron Hunsinger
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Dashboard-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/dashboard-dev/email@hidden

This email sent to email@hidden
References: 
 >Vertical resize stretches "window" but not content (From: Nick Zitzmann <email@hidden>)
 >Re: Vertical resize stretches "window" but not content (From: Nick Zitzmann <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.