dotnet / Comet

Comet is an MVU UIToolkit written in C#
MIT License
1.65k stars 117 forks source link

Cannot horizontally align to end #234

Open davidortinau opened 2 years ago

davidortinau commented 2 years ago

I suspect this is due to the layout revamp, but I cannot align along the x axis in a vstack.

new VStack()
                {
                    new ShapeView(new RoundedRectangle(4.0f)
                        .Fill(Colors.Grey))
                        .Frame(40,30)
                        .Background(Colors.Transparent)
                        .HorizontalLayoutAlignment(LayoutAlignment.End)
                        .Margin(top:30, right:30),

The ShapeView should be positioned to the end of the VStack (far right), but it defaults to the center and HorizontalLayoutAlignment does nothing.

Screen Shot 2022-01-15 at 9 37 29 AM
Clancey commented 2 years ago

I believe I fixed this yesterday. want to check the dev nuget? You can download it here: https://github.com/dotnet/Comet/actions/runs/1700790716