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: font size in Dashboard bigger than in Safari




On May 11, 2005, at 9:43 AM, Jason Ross wrote:

With the widget that I am working on, I have notcied that the default font size seems to be larger when looking at the widget in Dashboard than in Safari. Is there a way to get the font size in Dashboard to use the default font size from Safari? I'd prefer not to hard-code the font size to something like 12pt, because some people prefer a larger font, and some smaller.

Am I doing something wrong, or is the default font size in Dashboard really different / larger than in Safari?


Jason--

People generally can't change font sizes in widgets like they can in Safari (there's no Text Size control), so using a hard-coded size is recommended to ensure that your widget displays as designed. Cocoa and Carbon apps also feature set text sizes, generally speaking. Remember that users don't think of widgets as web pages—to them they're miniature applications.

That said, widgets are built using Web Kit, as is Safari, so the standard text size should be the same. It could be that you've adjusted the text size in Safari to be larger as some point, causing the discrepancy that you noticed.

P.S. I'd suggest that you (and all widget developers) use this page from the Apple Human Interface Guidelines for guidance when laying out a widget user interface:
<http://developer.apple.com/documentation/UserExperience/Conceptual/ OSXHIGuidelines/XHIGLayout/chapter_19_section_2.html> _______________________________________________
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: 
 >font size in Dashboard bigger than in Safari (From: Jason Ross <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.