Questions tagged [stacklayout]
The stacklayout tag has no usage guidance.
stacklayout
88
questions
0
votes
0
answers
62
views
Drawing shapes in Xamarin programmatically. Allow overlap and transparency
I'm very new to Xamarin, but not C#. I'm trying to draw concentric circles and various shapes to a StackLayout, where traditionally I would use a Canvas in WPF.
I'm trying to avoid using SkiaSharp - ...
0
votes
0
answers
54
views
QML - Dial not appearing correctly in StackLayout for Fusion style
For context, I will be making my own QML Controls style (for which I will be using the included Fusion style as a starting point), and for this I am making a Controls gallery of sorts.
In this gallery ...
0
votes
1
answer
278
views
HorizontalStackLayout doesn´t work with images in MAUI on iOS
I have a page with a simple grid of 2 rows and 1 column, inside the grid I have an HorizontalStackLayout with 2 images (dotnet_bot). The problem is that on iOS devices the images are not visible but ...
0
votes
2
answers
401
views
Stacklayout not fill whole screen
There is a little dark space on the screen. I dont want these dark space here. How can i delete or make bigger my stacklayout ?
My xaml :
<StackLayout VerticalOptions="FillAndExpand" ...
0
votes
1
answer
99
views
StackLayout when loading Xamarin.Forms.DataGrid
Recently I used Xamarin.Forms.DataGrid in my own Xamarin project.
When I insert more than one component in a StackLayout, I find that the datagrid just does not display the data except the header.
Do ...
0
votes
1
answer
177
views
Maui Community Toolkit - UniformItemsLayout - only first StackLayout showing
I am having issues getting more than one StackLayout to display in my UniformItemsLayout. I haven't changed my code since it was working, the only difference is I updated from some 1.X version to 3.1 ...
0
votes
1
answer
78
views
Why is declaring `size_x` and `size_y` different from delcaring both in `size` in kivy?
Why do these two blocks yield different results in kivy?
size
size: [50,50]
size_x and size_y
size_x: 50
size_y: 50
Example
For example, the following code does not render the same looking app
size
...
0
votes
1
answer
78
views
Side-by-side Labels in StackLayout: Why is second label missing? (kivy, python)
How can I display two labels side-by-side in a Kivy StackLayout?
Consider the following code
#!/usr/bin/env python3
from kivy.uix.button import Button
from kivy.lang import Builder
from kivy.app ...
0
votes
1
answer
416
views
Blank space after listview before next element in stacklayout
There is a stack layout on my XAML page within the scroll view.
In the stack layout, I have one listview and some other stack layouts.
I'm getting extra space between listview and Stack layouts.
XAML ...
0
votes
1
answer
140
views
Xamarin IOS BackGgroundColor doesn't work?
I have a problem with the header of a listview, as I understand it, unlike Android, on IOS by default I have the background color = White .. I would like to have it as transparent as on android in ...
0
votes
1
answer
154
views
Is it a bug in Xamarin StackLayout children.Add, Clear function?
When creating a button statically, there is no problem in clearing and adding the stacklayout. However, there is a problem when dynamically creating a button and clearing and adding it.
Is there ...
1
vote
1
answer
2k
views
Stack Layout items cut off .NET MAUI
I have Items in a stack layout with horizontal orientation being cut off instead of moving to a new line end of the screen. See below code to re-produce the issue. Is this a bug in MAUI? How can I ...
1
vote
0
answers
195
views
Xamarin radio buttons not displayed with Orientation = "horizontal"
Follow-on question to xamarin radio buttons not displaying.
I've created a public git repo at https://github.com/GrumpyPacker/HR to reproduce the issue. Since the data that I'm displaying in the ...
0
votes
2
answers
433
views
How to fix Label in StackLayout Xamarin
When the Label moves to another line, the Grid shifts.
There is a grid with two Columns and two Rows. The left rows are connected. They should have a BoxView with an image, the BoxView creates a ...
0
votes
0
answers
213
views
Xamarin: Text of Labels in StackLayout not fully shown
I'm coding a HangMan game on mobile and I have a StackLayout with Labels in it. Each label represents one letter of the chosen word, for example, t e s t w o r d.
So now my problem is the following: (...