Skip to content
This repository was archived by the owner on Dec 21, 2023. It is now read-only.
This repository was archived by the owner on Dec 21, 2023. It is now read-only.

[Bug] Controls don't layout properly horizontally #76

Open
@davidortinau

Description

@davidortinau

I've used both HorizontalStackLayout and StackLayout with horizontal orientation, and in both cases the buttons are offscreen left.

<StackLayout Background="Red" Orientation="Horizontal">
                    <Button Text="Button"/>
                    <Button Text="Button" IsEnabled="False"/>
                </StackLayout>

image

Turning everything vertical lays out ok.

<Label Text="Primary filled"/>
                <StackLayout Orientation="Vertical">
                    <Button Text="Button"/>
                    <Button Text="Button" IsEnabled="False"/>
                </StackLayout>

                <VerticalStackLayout>
                    <Button ImageSource="{StaticResource CircleIcon}" Text="Button"/>
                    <Button ImageSource="{StaticResource CircleIcon}" Text="Button" IsEnabled="False"/>
                </VerticalStackLayout>

                <VerticalStackLayout>
                    <Button FontFamily="FontAwesome"
                            Text="{x:Static app:IconFont.Archway}"/>
                    <Button FontFamily="FontAwesome"
                            Text="{x:Static app:IconFont.Archway}"
                            IsEnabled="False"/>
                </VerticalStackLayout>

image

Build 9.217
Fluent

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinghighIt doesn't work at or has a big impact.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions