Re: Stack View Question
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