• 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
Re: Stack View Question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Stack View Question


  • Subject: Re: Stack View Question
  • From: Michael de Haan <email@hidden>
  • Date: Thu, 12 Nov 2015 09:09:43 -0800

>>
>>
>>>
>>> Because there are 5 buttons in the top and bottom rows, and 3 in the vertical left and right rows, the spacing in the vertical stack views are not as “tight” as I want it to be.
>>>
>>> What I want is this. Lets call the space between the buttons “Empty Space"
>>>
>>> [ Empty Space
>>> Empty Space
>>> Empty Space
>>> Button1
>>> Empty Space
>>> Button2
>>> Empty Space
>>> Button3
>>> Empty Space
>>> Empty Space
>>> Empty Space]
>>
>>
>>


For those facing the same situation, I ended up not adding any extra spacing to any stackView. By adjusting the StackView Attributes “Distribution”  of the “Root” UIStackView, the spacing issue disappeared.



_______________________________________________

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


References: 
 >Stack View Question (From: Michael de Haan  <email@hidden>)
 >Re: Stack View Question (From: Ken Thomases <email@hidden>)
 >Re: Stack View Question (From: email@hidden)
 >Re: Stack View Question (From: Michael de Haan  <email@hidden>)

  • Prev by Date: Re: More AppleScript-ObjC Bridge Weirdness
  • Next by Date: Yet another autolayout question
  • Previous by thread: Re: Stack View Question
  • Next by thread: Customising NSFontManager
  • Index(es):
    • Date
    • Thread