FROM : Jonathan Hess
DATE : Thu Jan 31 22:34:28 2008
On Jan 31, 2008, at 1:27 PM, Chris Schmitt wrote:
> So if I wanted to change the font size of a label I would have to do
> programatically, or write my own sub class? There is no way in IB
> to set the label to something like bold?
I haven't been reading this thread, but you can change the font of any
control with the font panel in Interface Builder.
To make a label bold, add one to a document, select it, bring up the
font panel, and change the font.
Jon Hess
>
>
> I will check out the control size, that might help me out for what I
> am thinking.
>
> Thanks for all your help!!
>
> On Jan 31, 2008, at 4:16 PM, j o a r wrote:
>
>>
>> On Jan 31, 2008, at 1:05 PM, Chris Schmitt wrote:
>>
>>> How do I change the font that is used for all NSLabels,
>>> NSTextFields, etc..? Basically I want to make the default font
>>> smaller for all text within my application, not the menu bar or
>>> anything outside my application, just my views, and windows.. Is
>>> this done through skinning or is this a global property that can
>>> be set?
>>
>>
>> There is no global switch to get what you're asking for, and
>> typically that's not what you want either (you might want to have
>> *most* of your controls in one particular size, but very rarely all
>> of them). You, the programmer or interface designer, will have to
>> manually make sure that all controls in your interface is using the
>> font size you want.
>>
>> You might want to look at the documentation for NSControlSize. This
>> is a way to easily make controls appear at one of a predefined set
>> of sizes. You can set this property from Interface Builder or in
>> code. If you set it from code, you might also have to set the font
>> size separately (I don't remember, and don't think, that it's
>> updated automatically for you).
>>
>> j o a r
>>
>>
>
> _______________________________________________
>
> Cocoa-dev mailing list (<email_removed>)
>
> 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:
> http://lists.apple.com/mailman/options/cocoa-dev/<email_removed>
>
> This email sent to <email_removed>
DATE : Thu Jan 31 22:34:28 2008
On Jan 31, 2008, at 1:27 PM, Chris Schmitt wrote:
> So if I wanted to change the font size of a label I would have to do
> programatically, or write my own sub class? There is no way in IB
> to set the label to something like bold?
I haven't been reading this thread, but you can change the font of any
control with the font panel in Interface Builder.
To make a label bold, add one to a document, select it, bring up the
font panel, and change the font.
Jon Hess
>
>
> I will check out the control size, that might help me out for what I
> am thinking.
>
> Thanks for all your help!!
>
> On Jan 31, 2008, at 4:16 PM, j o a r wrote:
>
>>
>> On Jan 31, 2008, at 1:05 PM, Chris Schmitt wrote:
>>
>>> How do I change the font that is used for all NSLabels,
>>> NSTextFields, etc..? Basically I want to make the default font
>>> smaller for all text within my application, not the menu bar or
>>> anything outside my application, just my views, and windows.. Is
>>> this done through skinning or is this a global property that can
>>> be set?
>>
>>
>> There is no global switch to get what you're asking for, and
>> typically that's not what you want either (you might want to have
>> *most* of your controls in one particular size, but very rarely all
>> of them). You, the programmer or interface designer, will have to
>> manually make sure that all controls in your interface is using the
>> font size you want.
>>
>> You might want to look at the documentation for NSControlSize. This
>> is a way to easily make controls appear at one of a predefined set
>> of sizes. You can set this property from Interface Builder or in
>> code. If you set it from code, you might also have to set the font
>> size separately (I don't remember, and don't think, that it's
>> updated automatically for you).
>>
>> j o a r
>>
>>
>
> _______________________________________________
>
> Cocoa-dev mailing list (<email_removed>)
>
> 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:
> http://lists.apple.com/mailman/options/cocoa-dev/<email_removed>
>
> This email sent to <email_removed>
| Related mails | Author | Date |
|---|---|---|
| Chris Schmitt | Jan 31, 21:52 | |
| Kyle Sluder | Jan 31, 22:00 | |
| Chris Schmitt | Jan 31, 22:05 | |
| j o a r | Jan 31, 22:16 | |
| Kyle Sluder | Jan 31, 22:17 | |
| Chris Schmitt | Jan 31, 22:27 | |
| John Stiles | Jan 31, 22:31 | |
| Jonathan Hess | Jan 31, 22:34 | |
| j o a r | Jan 31, 22:34 | |
| Chris Schmitt | Feb 1, 00:03 | |
| Uli Kusterer | Feb 1, 00:19 | |
| Rob Keniger | Feb 1, 07:01 |






Cocoa mail archive

