Re: NSPredicateEditorRowTemplate subviews layout

2025-05-17 Thread Steve Mills via Cocoa-dev
On May 16, 2025, at 09:36, Dragan Milić via Cocoa-dev wrote: > > Trying to resize any control in a row template by force (setFrame: or > setFrameSize:) has no effect. Have you tried adding a width constraint instead? Or subclass NSPopUpButton and override the intrinsicContentSize method? Or [

Re: Cocoa-dev Digest, Vol 22, Issue 12

2025-05-17 Thread Arved von Brasch via Cocoa-dev
Hi there, Not sure how much I can help, but I do have some different predicate rows that seem to work for me: class StepperRowTemplate : NSPredicateEditorRowTemplate { override var templateViews: [NSView] { get { let XVPredicateRowStepperOffset = CGFloat(8) v