----- Original Message -----

From: "Ken Thomases" <k...@codeweavers.com> 
To: "Michael de Haan " <m...@comcast.net> 
Cc: "Cocoa Developers" <Cocoa-dev@lists.apple.com> 
Sent: Wednesday, November 11, 2015 4:59:51 PM 
Subject: Re: Stack View Question 

On Nov 11, 2015, at 6:43 PM, Michael de Haan  <m...@comcast.net> wrote: 
> 
> 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] 

Why do you want the extra empty space inside stack view? Why not just make the 
stack view shorter by putting external spacing? 


Hi Ken 
Well, I **though** :-) that would be a cleaner approach. All of the stack views 
are nested within one root view, so the root view is the only stack view 
requiring constraints. 
But, you might well be correct. 


_______________________________________________

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