Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot horizontally align to end #234

Open
davidortinau opened this issue Jan 15, 2022 · 1 comment
Open

Cannot horizontally align to end #234

davidortinau opened this issue Jan 15, 2022 · 1 comment

Comments

@davidortinau
Copy link
Collaborator

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
Copy link
Collaborator

Clancey commented Jan 15, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants