setting NSButton font has no effect

Originator:mayoff
Number:rdar://35942323 Date Originated:08-Dec-2017 03:42 PM
Status:CLOSED DUPLICATE OF 14204180 CLOSED Resolved:
Product:macOS + SDK Product Version:Xcode 9.2 (9C40b) / macOS 10.12.6 (16G1036)
Classification:Other Bug Reproducible:Always
 
Summary:
Dear AppKitterinos,

Setting the `font` attribute of an `NSButton` has no effect. Please make it change the font of the button label.

Thanks,
Rob


Steps to Reproduce:
1. Run the attached project.
2. Type a number (like 30) into the text field and press return.


Expected Results:
The button’s label changes to the system font at the point size typed into the text field.

Actual Results:
Nothing happens.

Version:
Xcode 9.2 (9C40b) / macOS 10.12.6 (16G1036)

Notes:

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!