Questions tagged [stacklayout]
87 questions
0
votes
2 answers
StackLayout Height not set for children
I have added Label inside StackLayout. I have set HeightRequest for StackLayout and long text for Label.
I want to crop the exceed text in label. But it gets rendered outside of StackLayout. How to restrict that.
I don't want to set HeightRequest…

Muneesh Kumar
- 196
- 1
- 1
- 10
0
votes
1 answer
Image resizing inside a StackLayout in Xamarin.Forms

Grant J
- 1,056
- 3
- 10
- 18
0
votes
2 answers
How to bind index of item in nested BindableLayout.ItemsSource to CommandParameter - Xamarin
I'm trying to figure out how you can get the index from a list inside XAML.
Context
A product has multiple specification categories/groups which contain the specification details.
Product & Ingrediënten are the specification groups.
Land van…

QuanDar
- 1,255
- 2
- 12
- 20
0
votes
0 answers
Nativescript 'Image' is not a known element
I'm updating my nativescript app into Nativescript 7 and the latest version of Angular (11). And after changing a lot of imports, I am getting some weird errors that I can't seem to figure out.
src/app/app.component.html:70:29 - error NG8001:…

Jose Chavez
- 115
- 9
0
votes
1 answer
Xamarin: vertical position in horizontal stacklayout issue
The 2 labels should be at the bottom line, but the second label has some space to the bottom line. The only difference between them is the Fontsize.
How can I manage that both labels are at the same vertical position?

Skipper
- 59
- 6
0
votes
1 answer
StackLayout in QML
Requirement: I am building a Settings app in QML, in which the I have divided screen into a grid. On the left hand side of the Grid, there are buttons : Home, Connectivity, Settings and Quit. and on the right hand side, corresponding display should…

sahil kalra
- 1
- 1
0
votes
2 answers
Stack wrap_content all the Widget inside?
I have a Widget tree like this:
Stack(
children: [
Text(
'-',
style: title,
),
Positioned.fill(
child: Center(
child: Text(
'FT',
style: normal,
),
…

Kyo Huu
- 520
- 7
- 13
0
votes
1 answer
0
votes
1 answer
Xamarin.Forms StackLayout with x:Name not being found when inside DataTemplate
The XAML file is as follows:

SidS
- 306
- 4
- 17
0
votes
0 answers
Insert a widget to the beginning of a layout. Kivy
I am trying to understand how StackLayout works within ScrollView in Kivy. And i have got a problem. I do not know how to insert a widget to the beginning of the layout. If i use .add_widget() method, it adds the widget to the end(in the bottom) of…

Alexandr Milko
- 34
- 6
0
votes
2 answers
Kivy, StackLayout, object order
I have a screen with a StackLayout. The first row of the stack includes a textinput and a "+" button which is meant to add another identical row below the actual one in a loop (i.e. another textinput with another "add" button). Then there is a…

gicanzo
- 69
- 8
0
votes
1 answer
Slide stacklayout according to listview scroll.- Xamarin.forms
In my Xamarin.Forms app, I have a StackLayout and ListView.
I want to hide/show this StackLayout depending on the ListView scrolling direction:
If the user scrolls down -> slide up the StackLayout and hide.
If the user scrolls up -> slide down the…

Anand
- 1,866
- 3
- 26
- 49
0
votes
1 answer
How to set ListView At the end of page
I already use VerticalOptions="EndAndExpand" then also left space at the end anyone has an idea about this.
I already try collection view in that also same issue I faced

Jasmin Sojitra
- 1,090
- 10
- 24
0
votes
1 answer
Xamarin forms C# StackLayout
Please see below code. If I click on 'Beer' or 'Spirit' private void MyButton_Clicked(object sender, EventArgs e) will be called.
However nothing happens if I click 'Wine' Or 'Cider' does anyone know why this is?

John
- 3,965
- 21
- 77
- 163
0
votes
1 answer
Last StackLayout Item is missing or cut
I am creating xamarin.forms page with a single ListView.
Each list item template consist of one vertical StackLayout which contains 3 StackLayouts inside. The problem is: I can see only first two stacklayouts
and the third is hidden or cut or…

Andrey Ischencko
- 800
- 1
- 6
- 18