• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
NSSplitView layout problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSSplitView layout problem


  • Subject: NSSplitView layout problem
  • From: James Walker via Cocoa-dev <email@hidden>
  • Date: Thu, 8 Sep 2022 14:34:04 -0700
  • Arc-authentication-results: i=1; rspamd-686945db84-5njhc; auth=pass smtp.auth=hostingeremail smtp.mailfrom=email@hidden
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=mailchannels.net; s=arc-2022; t=1662672846; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding:dkim-signature; bh=cfQ65G9pTpTSboKqxk298BBM9fYmDTex8ynCEckcjwA=; b=cyVoBDb4rm9zAVVwZUDtf49mWyb/jwi11hug0d5b1lA6GGCpVp0sg+LMXM941fNoAWdFaQ bx2a1GlxqL1jjmMVk8vdfpxwEaWQR4Vw1GO/XemGeNAlP+41L2UomK35vN63K3sd8Wtdan punKLwdv9wnYoVgG3pX5NRTIRC+ratEpV9k1GhwM1pUWvrm16j8AQt+xwc9RDOK6ypwK8l vFkDl6TKbtv5sHz3W3/4oES3zU05Nn4tkl4TN0JaWqioGUUb/NWxhoeFJwiFOQgGCUP9Pb 8syi+n6SSHCt8C+t5aRvDJm5ExL7i2f2mtsPQJ+Y8eq2jgSmhxm8C7Tsxg8yIw==
  • Arc-seal: i=1; s=arc-2022; d=mailchannels.net; t=1662672846; a=rsa-sha256; cv=none; b=KvvPZNzLWA310jt6f7cTP9Sdi5w2WEK+1/k7GyUZqkwkVVOEEEP9uo/hEOQRKpjDT3SJ+6 G2oU7npwK8+xzSWFrqnUf3nSsOEf9cVoiL7eSoGkcMw8Jok3vyWWnmliSyt/dCxXwW5o8r td8YT9MWeH7kmwUiw/I4U3XEdAKCMyPLcUmohhTCgO2DJk1Pgmox5aaht0ctY5QMJYH33Q x0PLoxpo37AWCHATI6mB2t8PMeX2ihoyWqKbLjost9WHDq0wdZdI23AV9L8g+CDssM9LkC QWgjA3DeyWSYqvlPCH4OGm8ICFt87gh1okwRvwFEjpyPzlC/fca1eF5Z+CLXIg==

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 (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

  • Follow-Ups:
    • Re: NSSplitView layout problem
      • From: Andy Lee via Cocoa-dev <email@hidden>
  • Next by Date: Re: NSSplitView layout problem
  • Next by thread: Re: NSSplitView layout problem
  • Index(es):
    • Date
    • Thread