I have an editable text view and a combo box that I want to lay out horizontally in a split view. The regular size of a combo box defaults to 25 points high, while the regular size of an edit field defaults to 21 points high. But NSSplitView with horizontal layout sets its subviews to the same height, so either the combo box gets cramped or the edit field gets unnaturally expanded. The nib editor does not let me change the field heights at that point, nor can I add auto layout constraints that would change the heights. I could insert the edit field in a custom NSView and insert that in the split view, but I'm wondering if there is a better way to handle the issue?
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to