scale text proportionally as bounds increase
scale text proportionally as bounds increase
- Subject: scale text proportionally as bounds increase
- From: sqwarqDev <email@hidden>
- Date: Mon, 23 Feb 2015 23:49:36 +0700
Hi folks
I need some advice on how to approach a particular problem (OS X),
I have a basic window with a couple of NSTextFields and Labels. What I want to do is have the user able to drag the window frame and have the text in the fields increase proportionally. I know I can get the frame of each NSControl within the superview to scale with AutoLayout, but that won't increase the text size within the NSControl.
How do I programmatically tell each NSControl to increase its text size proportionally as its bounds increase?
Best
Phil
DisplayDroid beta (a lightweight script editor and automation tool) is now available for free download. More info on sqwarq.com/displaydroid
OSXClock - big, beautiful alarm clock and timer for your mac. More info on sqwarq.com/osxclock
http://applehelpwriter.com
http://sqwarq.com - apps for OS X & iOS
_______________________________________________
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