Sizing NSDatePicker to reflect chosen date format in System Prefs
Sizing NSDatePicker to reflect chosen date format in System Prefs
- Subject: Sizing NSDatePicker to reflect chosen date format in System Prefs
- From: Manoj Patwardhan <email@hidden>
- Date: Fri, 5 Dec 2008 09:45:23 +0530
How do date format settings in the International pane in System
Preferences get reflected in an instance of NSDatePicker? I have a
window with a NSDatePicker control. Regardless of what I change the
short date format to in System Preferences, the control is not
automatically resized. Calling sizeToFit in the awakeFromNib method of
my window controller also makes no difference. If I choose the month
name, for example, instead of the number in the Short date format, the
date picker shows it truncated.
Thanks,
Manoj
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden