Re: Stack View Question
Re: Stack View Question
- Subject: Re: Stack View Question
- From: email@hidden
- Date: Thu, 12 Nov 2015 01:15:34 +0000 (UTC)
- Thread-topic: Stack View Question
----- Original Message -----
From: "Ken Thomases" <email@hidden>
To: "Michael de Haan " <email@hidden>
Cc: "Cocoa Developers" <email@hidden>
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 <email@hidden> 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 (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