• 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: 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


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

  • Prev by Date: Re: Stack View Question
  • Next by Date: Re: Stack View Question
  • Previous by thread: Re: Stack View Question
  • Next by thread: Re: Stack View Question
  • Index(es):
    • Date
    • Thread