Questions tagged [stackview]
214 questions
0
votes
1 answer
Manage part of the window with a stackview within splitview
I designed my main interface with two levels of splitview in order to get five rectangle areas.
Here is my code :
import QtQuick 2.9
import QtQuick.Window 2.2
import QtQuick.Layouts 1.3
import QtQuick.Controls 1.4
import "../geoforms"
SplitView {
…

kontiki
- 186
- 3
- 16
0
votes
1 answer
AvPlayer inside a StackView
I have a vertical StackView containing, in order, an UILabel and a set of UIButton (made possible thanks to a horizontal StackView.
I need to insert a video between the UILabel and UIButtons, as second element, using AVPlayer.
Can you suggest me the…

Luigino De Togni
- 157
- 2
- 15
0
votes
1 answer
Swift StackView interchange subview with animation
How do I make subviews of stack interchange with animation
UIView.animateWithDuration(0.5, animations:
{
self.stackview.exchangeSubviewAtIndex(3, withSubviewAtIndex: 4)
})
This works when views are not in stack view :
let lastXcoVar =…

Sujay U N
- 4,974
- 11
- 52
- 88
0
votes
2 answers
How to use QML StackView's status property?
I have some 3 Components inside the StackView QML type and I am able to change the views using push() and pop(). Further down, I would like to update UI(Component) based on user configurations when I push() or pop() to that UI. Going through the…

jxgn
- 741
- 2
- 15
- 36
0
votes
1 answer
XCode Stack Views not showing properly
I'm currently trying to achieve the following look:
I have 4 stack views which are in nested into one final stack view, and I get the following result:
Can someone help me with some pointers how to achieve the look of the first image? I'm fairly…

Jay_EL
- 69
- 1
- 7
0
votes
1 answer
QML StackView, how to navigate within the pushed item?
My app has a stackview that has two QML files.
And I need to navigate from one QML file to another from inside that QML file itself where I won't have access to stackview to push or pop.
How should I design this?
Main.qml
Rectangle
{
id: mainBkg
…

jxgn
- 741
- 2
- 15
- 36
0
votes
1 answer
Swipeview is not showing screen when used with stackview
I am implementing stackview in my application.
main.qml
ApplicationWindow {
id: window
width: 360
height: 520
visible: true
title: "City Explorer"
color:"#FAF7F7"
Loader {
id: splashLoader
…

bhupinder
- 315
- 1
- 6
- 23
0
votes
1 answer
Stackview calling slots for previous screen
I am implementing stackview in my application.
SwipeView {
id: swipeView
anchors.fill: parent
currentIndex: showfooter.currentIndex
DashboardListView{
id:dashboard
}
Settings{
id:setting
}
…

bhupinder
- 315
- 1
- 6
- 23
0
votes
0 answers
Stackview Add several subviews
I try to add three subviews to a stackview. But there is only the last that I add visible. I tried to add some subviews with the constructor, but also with addArangedSubview(). Both ways I get the same result.
It looks like either the views are on…

manban
- 133
- 1
- 19
0
votes
1 answer
Constraints in stack view causing weird issue
I am using Xcode 9 Beta 6, and following a Devslopes tutorial. In the tutorial we are putting two images in a horizontal stack view, and setting it to Fill Equally. Also on one of the images we are putting two constraints, Width <= 140 and…

Andy Becker
- 139
- 1
- 1
- 7
0
votes
1 answer
Button becomes inactive in programmatic dynamic stackView (Swift)
I'm trying to implement a programmatic version of the Dynamic Stack View in Apple's Auto Layout Cookbook. An "Add Item" button is supposed to add new views to a vertical stackView, including a delete button to remove each view. My programmatic code…

Tony M
- 1,694
- 2
- 17
- 33
0
votes
3 answers
How to stretch all buttons inside horizontal stack view as device width
I have difficulty to stretch all 5 buttons inside horizontal stack view as wide as my device width.
Can I do that? or do you guys have any solutions?
Looking forward to your answer.
Thank you very much for your attention.

hallz13
- 59
- 7
0
votes
0 answers
Xamarin iOS StackView ScrollView
I'm new in Xamarin IOS And I try to put a stackView into a scrollView. Then I produce this code.
public class ViewCategory : UIViewController, IIndicatorInfoProvider
{
public override string Title { get; set; }
public UIColor Color { get;…
user7752337
0
votes
1 answer
Custom control exceeding bound of Stackview cell
As per the image below, a custom control with an embedded UITextView will jump out of its bounds. I've tried applying clip to bounds etc. to no avail. Probably something simple when establishing a custom control.
Here is the code for the…

Yarm
- 1,178
- 4
- 16
- 29
0
votes
3 answers
Swift 3 Table View - Remove Stack View from some cells
I've got table view cells which contain, amongst other things, a stack view. The stack view should only be in a cell, if some requirements are true. If not, then the height of the cell should be reduced.
When I use .isHidden, the height stays the…

MightyAlienDwarf
- 69
- 1
- 7