You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
using System;
using Microsoft.Maui;
using Microsoft.Maui.Controls;
using Microsoft.Maui.Graphics;
namespace LayoutLab
{ public class SpacingStackPage : ContentPage
{
public SpacingStackPage()
{
BackgroundColor = Colors.White;
this.Content = new StackLayout
{
Margin = new Thickness(100),
Spacing = 0,
Children =
{
new Label { Text = "Primary colors" },
new BoxView { Color = Colors.Red },
new BoxView { Color = Colors.Yellow },
new BoxView { Color = Colors.Blue },
new Label { Text = "Secondary colors" },
new BoxView { Color = Colors.Green },
new BoxView { Color = Colors.Orange },
new BoxView { Color = Colors.Purple }
}
};
}
}
}
Expected Behavior
Actual Behavior
Minus the title bar issue...
If I give a BoxView an explicit size, it'll appear.
Description
Expected Behavior
Actual Behavior
Minus the title bar issue...
If I give a BoxView an explicit size, it'll appear.
Basic Information
Reproduction Link
https://github.com/davidortinau/ControlGallery/blob/main/src/ControlGallery/Pages/Stack/SpacingStackPage.cs
The text was updated successfully, but these errors were encountered: