Questions tagged [stackview]
214 questions
5
votes
2 answers
Horizontal swiping in stackview
I am in an app which requires stackview. But I have to implement horizontal swiping to switch between stackview items and UI looks as that of as normal one. Please help me to make it.
I have already checked this link.
But in it UI is just a cover…

Shijil
- 2,226
- 18
- 33
4
votes
1 answer
Stack View Distribution with Dynamic Label Width
I have a UIStackView however, the first view of the subViews is a UILabel and it is not sizing it accordingly.
My code is as per below;
private let stackView: UIStackView = {
let view = UIStackView()
…

David Henry
- 1,972
- 20
- 43
4
votes
0 answers
UIStackView spacing not working for zero valued size classes
I have two labels inside a UIStackView with a 10 pixels spacing as a default value and a 0pixel spacing for my compact layout.
This works fine on Ipad, the spacing is of 10pixels between the two UILabels. The issue is on iPhone (compact width).…

wheeliez
- 1,568
- 1
- 10
- 14
4
votes
1 answer
Android: How can I create Swipeable Stack view?
I want to create swipeable stack view in my app. I attach the view below.
In that stack view, can I delete a particular item by swiping on item position?
Please provide me any reference example or tutorial.

Narendra Motwani
- 1,085
- 10
- 20
4
votes
0 answers
Android ViewPager / StackView with Pages behind each other
I try to achieve an View where i have multiple "cards" behind each other and where i could move and fling the Views away and the next "Page" shows up.
It Should be like in this Screenshot:
I tried using ViewPager, but that just allows me to…

develth
- 771
- 8
- 32
4
votes
1 answer
Changing the Angle of the Android StackView
Does anyone know of a way to change the angle of a StackView. I'd love to be able angle a Stackview 45 degrees.
Thanks.

O2U
- 429
- 2
- 8
- 22
3
votes
0 answers
AdapterViewFlipper with StackView card flip action
I've been looking at the sample StackWidget app, which provides a widget having a StackView. This gives the appearance of a stack of cards, with the ability to flip between cards with a vertical swipe on the widget:
I like this effect but would…

drmrbrewer
- 11,491
- 21
- 85
- 181
3
votes
1 answer
Custom cell and stack-view programmatically
I am creating a tableview with a custom cell programmatically. I would like to utilise a stack view with arranged subviews within the custom cell. However, all my efforts have failed. Firstly is it possible to do this?
Secondly I am placing the…

user3194306
- 81
- 1
- 7
3
votes
3 answers
Swift: addGestureRecognizer not work for stackview children
Codes:
for ... {
let view = CategoryClass.createMyClassView()
view.myLabel.text = packTitle
view.twoLabel.text = packText
view.bgCaategory.layer.cornerRadius = 30
i = i + 1
if(i == 1){
selectPackId = packId!;
…

salari mameri
- 228
- 5
- 13
3
votes
1 answer
Qt QML Focus an Item (TextField) when showing a StackView Page
I want to enable TextField focus when QML file is loaded. But, it is not working. After loading TestUi.qml file I put some button and its onClick() method I did _recipientView.focus = true_, it works fine. The problem is that default focus is not…

nAkhmedov
- 3,522
- 4
- 37
- 72
3
votes
2 answers
I have multiple qml Files that get pushed via StackView. How do I connect them to C++
My Projects contains 6 qml Files: The main.qml opens a new ApplicationWindow and declares the toolbar. It also initalizes StackView with the initalItem homescreen.qml. On the Home Screen I have different buttons which open different qml Files, via…

MilloMille
- 35
- 1
- 8
3
votes
0 answers
Qml for ios application is too slow
I am developing an application with Qt and qml and I am building it for OSX, iOS and Android. The application contains a StackView which has only three pages. In the second page I have a five MenuItems and five Dialogs.
While this very simple…

willy
- 487
- 5
- 21
3
votes
3 answers
QML StackView custom transition
I have gone through the Qt docs :Qt StackView yet still I can't figure out what am I doing wrong, because my code should produce fade in/out animation but what I got is just an instant blink between content. I hope my description is sufficient and…

Nadarian
- 962
- 9
- 22
3
votes
3 answers
Dynamic equivalent of these XML properties for a StackView
I am dynamically creating a StackView object in my Android project. How can I accomplish the following equivalent properties dynamically through code?
android:animateLayoutChanges="true"
android:loopViews="true"

midhunhk
- 5,560
- 7
- 52
- 83
2
votes
1 answer
how to create custom stackview for android 2.2 or 2.3
I need to create a custom stack view for my project and I saw that its not readily available for android versions prior to honeycomb.
If anyone can help me understanding how I can create a custom stackview for froyo or gingerbread.
Thanks in…

Nishant Soni
- 658
- 1
- 9
- 19