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

Setting the X/Y positions initial values on Window doesn't propagate when the window is first initialized #9703

Closed
Tracked by #9139
PureWeen opened this issue Aug 26, 2022 · 0 comments · Fixed by #10028
Assignees
Labels
area-layout StackLayout, GridLayout, ContentView, AbsoluteLayout, FlexLayout, ContentPresenter fixed-in-7.0.0-rc.2.6866 Look for this fix in 7.0.0-rc.2.6866! platform/windows 🪟
Milestone

Comments

@PureWeen
Copy link
Member

Description

In our sandbox gallery use the following code

		protected override Window CreateWindow(IActivationState activationState) =>
			new Window(new NavigationPage( new MainPage()))
			{
				Width = 200,
				Height = 500,
				X = 0,
				Y = 500
			};

The width and height will propagate but the X/Y coordinates don't

@PureWeen PureWeen added this to the .NET 7 milestone Aug 26, 2022
@PureWeen PureWeen added platform/windows 🪟 area-layout StackLayout, GridLayout, ContentView, AbsoluteLayout, FlexLayout, ContentPresenter labels Aug 26, 2022
@mattleibow mattleibow mentioned this issue Aug 27, 2022
25 tasks
@mattleibow mattleibow mentioned this issue Sep 2, 2022
22 tasks
@mattleibow mattleibow modified the milestones: .NET 7 Planning, 7.0-rc2 Sep 11, 2022
@Redth Redth modified the milestones: 7.0-rc2, .NET 7 Planning Sep 14, 2022
@Redth Redth modified the milestones: .NET 7 Planning, 7.0-rc2 Oct 4, 2022
@ghost ghost locked as resolved and limited conversation to collaborators Nov 3, 2022
@samhouts samhouts added the fixed-in-7.0.0-rc.2.6866 Look for this fix in 7.0.0-rc.2.6866! label Feb 17, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-layout StackLayout, GridLayout, ContentView, AbsoluteLayout, FlexLayout, ContentPresenter fixed-in-7.0.0-rc.2.6866 Look for this fix in 7.0.0-rc.2.6866! platform/windows 🪟
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants