> On 14 Dec 2020, at 5:39 pm, Eyal Redler via Cocoa-dev
> wrote:
>
> button = [[NSButton alloc] initWithFrame:NSMakeRect(0, 0, 0, 0)];
> [button setTranslatesAutoresizingMaskIntoConstraints:NO];
> [button setBezelStyle:NSRoundedBezelStyle];
> [button setTitle:buttonTitle];
> [button sizeToFit]
I'm configuring a view with some push buttons and other views programmatically
and the buttons are drawn offset to the right.
For example, the first button should be at 0,20 but it is drawn at 6,20. I
checked that the buttons are not moved, the button frames remain the same, the
buttons are just