Re: Programmatically created NSButton is drawn in the wrong position.
Re: Programmatically created NSButton is drawn in the wrong position.
- Subject: Re: Programmatically created NSButton is drawn in the wrong position.
- From: Steven Mills via Cocoa-dev <email@hidden>
- Date: Tue, 15 Dec 2020 07:49:34 -0600
On Dec 15, 2020, at 04:49:19, Eyal Redler via Cocoa-dev
<email@hidden> wrote:
>
> setting translatesAutoresizingMaskIntoConstraints to yes makes the situation
> worse. The buttons are drawn further away than their frames indicate.
Are you using Xcode's Interface Debugger to inspect the entire view hierarchy
and see what the frames of everything actually are, or are you just measuring
pixels in a screenshot or something to determine that they're 6 points to the
right?
--
Steve Mills
Drummer, Mac geek
_______________________________________________
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