Questions tagged [stackview]

214 questions
0
votes
0 answers

UIStackView Views are all on one row

I have a problem with Views in a stackview where the different views are all showing on the same line and overlapping. This is in an app that used to be working so i'm not sure if this is a change to the language in some way. Does anyone have any…
Fl3tchLiv3s
  • 41
  • 1
  • 7
0
votes
1 answer

Xcode StackView with UIImageView incorrect spacing

My Storyboard When it runs Do u see the image that is down at the bottom? When I design it in storyboard, image with all above stuff is in a stackview with spacing of 8. Why the image is spaced from textfield too far away? Do u guys know why? Thanks
0
votes
1 answer

Component pushed on StackView does not bind correctly

The example below illustrates my problem. I create a small Rectangle at the top left and clicking on it toggles the color between red and green. Next, I create a StackView and I push a Rectangle to the StackView and bind the color of this second…
Marc Van Daele
  • 2,856
  • 1
  • 26
  • 52
0
votes
1 answer

How do I create space on the top of my stackview for the status bar without using a fixed height?

I am using Swift 3 and stack views (aka auto layout) with constraints. At the moment my app's header and the standard iOS status bar is overlapping. I DON'T want to create another empty stack with a fixed height because I'm trying to keep it as…
Brewski
  • 654
  • 3
  • 14
  • 29
0
votes
1 answer

Square view grid using UIStackView - iOS

I'm trying to create a grid using UIStackView, I'm able to do it expect for one problem. i can not make it a perfect square. whenever i set aspect ratio constraint i get conflicts constraints. the grid is 5✕7 I'm embedding each row in a UIStackView,…
Ali Alebrahim
  • 617
  • 1
  • 9
  • 25
0
votes
2 answers

StackView inside UIView - auto-height

It's possible to make an UIView adjust automatically his height to accommodate an StackView, via Interface Builder? I' wanna put a background on a StackView, but as long it is not possible, as StackView is not renderable, I'm using it inside a…
Cleversou
  • 461
  • 4
  • 16
0
votes
0 answers

Google drive multiselect stack view

How to create a view that is stacked on multi-select with animations like in google drive app? I have found some libraries that provide tinder swipe like view but i am wondering if this is the right way to go. In Drive app on selection there is…
ddog
  • 670
  • 1
  • 10
  • 25
0
votes
1 answer

swift functions with default parameters also a selector?

I wanted to be able to call this function from two places: When I finish editing a text field, I want to add a new webView when there are none in a stackView, and I also want to be able to use a barButtonItem to do so. I'm having two problems. when…
Dave Kliman
  • 441
  • 4
  • 17
0
votes
1 answer

Any way to change order of photos in stack view?

Does anyone know how to change the order of photos in stack view(both horizontal and vertical) by user's desire?
Andreas
  • 45
  • 7
0
votes
0 answers

Swift Stack View to Auto Layout Drawn Circles

I've been doing a lot of reading as a new Swift programmer and learned that Stack Views are the way to go to dynamically position elements rather than relying on auto-layout. What I've been trying to do is set a stack view/frame where I can…
theflarenet
  • 642
  • 2
  • 13
  • 27
0
votes
0 answers

Fetch Images from Gallery and display in Stackview widget

Multiple Image selection from gallery is almost done, am able to fetch the images I have selected, but am facing the problem to show the selected images in stack view,now am able to display the images in a linear layout, but I want to show the…
aadhagupta
  • 47
  • 1
  • 8
0
votes
2 answers

How to use Stack View to center a button in a container?

I am new to Stack Views so bear with me. I have an outer Stack View that contains all my elements as displayed in the image: My problem is that the "Skip" button is now outside its container. I have tried to set constraints for "Center…
ML.
  • 589
  • 1
  • 9
  • 33
0
votes
2 answers

Resizing RoundStyled textfield with image in stackview in ios 9

I am new to stackview. Problem I'm facing is with the size of the roundStyled Textfield with image , whose size is correct after stacking. But it is shrinking after running in the simulator and its size is not changing even after the hight and width…
trainer
  • 1
  • 1
  • 3
0
votes
1 answer

How to implement viewpager with stackview type look and feel

I need to implement viewpager that has look & feel and animation as that of stackview widget in android. I have already looked into…
0
votes
1 answer

Stackviews in IB and preview don't look right after changing an inner nested stackview

I almost had a collection of nested stackviews looking good, but wanted to change the distribution of (only) one horizontal stackview nested 3 deep within some other stackviews. In the image below, it is the yellowish strip that is only visible in…
DrWhat
  • 2,360
  • 5
  • 19
  • 33