Variable window size based on screen resolution
Variable window size based on screen resolution
- Subject: Variable window size based on screen resolution
- From: Koen van der Drift <email@hidden>
- Date: Mon, 14 Nov 2011 10:10:13 -0500
Is there a way to a window open in a size relative to the resolution
of the screen? For instance, I am writing an app on a MacBook with a
13" screen. On my screen, the main window is almost the size of the
complete screen. What happens if someone on a 21" iMac opens the
application? Will the main window be the same small size? Is it
possible to detect the resolution, and scale the window when it opens?
Of course this requires that all controls in the window also have to
be updated.
- Koen.
_______________________________________________
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