Questions tagged [stackview]
214 questions
0
votes
0 answers
overflow-y: auto; giving black screen in every browser in windows but working fine in mac
.stack-view {
/* clr-stack-view-color */
color: #666666;
color: var(--clr-stack-view-color, #666666);
font-size: 0.65rem;
font-weight: 400;
line-height: 1.2rem;
letter-spacing: normal;
margin-top: 0;
border-width:…

vivek pandey
- 45
- 1
- 8
0
votes
1 answer
Turning off the bouncing animation for QML GridView elements
I am building an QtQuick application by using StackView. Everything is going well except one major thing for me. I am using GridView to create some buttons or tables by using delegates. But if user clicks on these delegates (rectangle for my…

user023835
- 27
- 6
0
votes
2 answers
QML multiple window with keeping the state of all windows
I want to develop a qml application that starts with the main window and three buttons are available in the main window. By pressing each button a new page(Layout) should show up, but after returning to the main window, the state of the previous…

siamak mirifar
- 5
- 5
0
votes
1 answer
Swift elements's height in stackview
I have a stackView like this.
If Data has not images image will be hidden.
Then label's text is "" , but label's height is to be long.
I want label does not fill stackview.
How can I do?

JJHA
- 76
- 7
0
votes
2 answers
How can I set the horizontal stackView according to the width of the first label
How can I align the stackview according to the content of the first label on storyboard ?

Ufuk Köşker
- 1,288
- 8
- 29
0
votes
0 answers
Switching to particular component of Stack View
I'm trying to realize the button on the start page of Stack view which leads user to previously opened page. I did the minimum reproducible example below. Could you please help me why this solution doesn't work? I need to remember previously visited…

Valeriia
- 586
- 2
- 4
- 21
0
votes
0 answers
How to hide a button from a horizontal stack view in swift
I want to hide one of the button from a horizontal stack view. First I tried to do
button1.isHidden = true
That didn't hide the button. Then I tried
horizontakStackView.removeArrangedSubview(button1)
button1.removeFromSuperview()
but still the…

Meri
- 59
- 6
0
votes
1 answer
How to set dynamic height for collectionView inside a StackView programmatically in Swift?
So I have a collection view inside a stackView, along with two UIViews, and the stackView is a subview of a scrollView. I want my collectionView to adjust its height dynamically and to not affect the other views in the stack view. I made a diagram…
0
votes
1 answer
StackView - Popped screen gets destroyed after previous screen is made visible
StackView has screen 1 as initial item. Screen 2 is pushed. Screen 2 is now popped.
Screen 2 gets destroyed after screen 1 is made visible.
Is this expected behavior? Why does it work this way?
I expected the popped screen to get destroyed before…

Arun Kumar B
- 196
- 9
0
votes
1 answer
Multiple CollectionViews In StackView
I currently have a couple of collection views that use compositional layouts that I'm trying to add to two separate vertical stack views on top of each other.
One of my collection view will be going into the headerContentView and the other will be…

Kwoner
- 963
- 1
- 6
- 7
0
votes
1 answer
stackView.removeArrangedSubview isn't working perfecly
I have a register View controller. I have text field for the phone number, and another text field for the country number.
i need the country code text field to be on the left and behind it, we should have the phone number.
this is working when the…

Ali Madhoun
- 17
- 1
- 5
0
votes
1 answer
How to unwind StackView till the second last item in QML
I want to unwind till the second last item in StackView. The documentation states it should be as easy as stackView.pop({item: itemName}), but this is working as if I'm doing stackView.pop(). What is the correct way of unwinding till a specific…

Mohammad Ali
- 117
- 5
0
votes
0 answers
UIView.animate grows the rectangle from bottom-left to top-right instead of straight up vertically
I am creating a pulldown menu using a stackview in conjunction with a textfield. When the textfield is tapped, I animate the contents of the stackview by "growing" the stackview upwards, but it is doing it from the bottom-left to the top-right…

Kaplan
- 91
- 1
- 11
0
votes
1 answer
Swift add a transparent and blur view on top of another view
design is here:
So the button stackview is having a blur & transparent view on top of another ImageView. How can I make this work?
I've tried the blur effectview and visual effectview but all failed on fulfill this design. I also try to usign the…

o1xhack
- 87
- 9
0
votes
1 answer
How to set constraints to stack views?
I’m trying to achieve this layout using the interface builder
I’ve already tried to embedded the bottom button inside another stackview, also tried to set it out of the stack view but nothing works as expected what have now is this
And getting this…

Robert
- 85
- 6