NSAlert accessory view fill horizontal space, respecting margins

2022-11-02 Thread Tor Arne Vestbø via Cocoa-dev
Hi all, I’m trying to get the accessory view of an NSAlert to layout similarity to the the text fields of the messageText and informativeText. That is: *Fill the the available horizontal space of the alert, respecting margins * Including accounting for the different margins of the

Re: ARC and C++ structures

2021-09-15 Thread Tor Arne Vestbø via Cocoa-dev
On 15 Sep 2021, at 17:39, Matt Jacobson mailto:mhjacob...@me.com>> wrote: On Sep 15, 2021, at 11:21 AM, Tor Arne Vestbø mailto:tor.arne.ves...@qt.io>> wrote: On 14 Sep 2021, at 16:33, Matt Jacobson via Cocoa-dev mailto:cocoa-dev@lists.apple.com>> wrote: By default, when an NSWindow is

Re: ARC and C++ structures

2021-09-15 Thread Tor Arne Vestbø via Cocoa-dev
On 14 Sep 2021, at 16:33, Matt Jacobson via Cocoa-dev mailto:cocoa-dev@lists.apple.com>> wrote: By default, when an NSWindow is `-close`d (which can only happen once in its lifetime), Interesting. If the NSWindow is retained elsewhere, can it not be ordered in again? Appreciate any details

Re: Future of Cocoa #2

2019-12-11 Thread Tor Arne Vestbø via Cocoa-dev
> On 11 Dec 2019, at 21:35, Gabriel Zachmann via Cocoa-dev > wrote: > > >> QT is probably the most viable cross-platform tool, but steep learning >> curve and mediocre GUI. Will it survive if Cocoa is deprecated? > > Good question - I have no idea. > > But I suggest you reach out to the