UIStackView Interval - Do not click on the upper and lower anchors

I am trying to distribute some of the nested representations of the stack, and I think that I have no property to help me align the various representations the way I want them.

Here's the current output:

enter image description here

The problem is that the two ordered subheadings that are added to each column (stack) are distributed in such a way that the first similarity is aligned to the top, and the second subview is aligned to the bottom (leaving a variable space in between). A.

But here is what I hope for - there is always a fixed space (say, 10 pixels) between the first and second ordered subviews in each column, and the extra space below the second ordered sub-view simply remains what it needs to be.

enter image description here

:

outerStackView= : (20 , 64 , 20 , 64px off right - , ) :

outerStackView.axis = .Horizontal
outerStackView.distribution = .FillEqually
outerStackView.spacing = 10

leftStackView, middleStackView, rightStackView outerStackView :

columnStackView.axis = .Vertical
columnStackView.distribution = .Fill
columnStackView.alignment = UIStackViewAlignment.Top
columnStackView.spacing = 10

stackViews, - . :

redBlueStackView.axis = .Horizontal
redBlueStackView.distribution = .FillProportionally
redBlueStackView.alignment = UIStackViewAlignment.Top
redBlueStackView.spacing = 4
+4
1

, . . , , 3 . - . , , .

0

All Articles