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

#13123 Fix ButtonSpinnerLocation in SimpleTheme #13142

Merged

Conversation

stogle
Copy link
Contributor

@stogle stogle commented Oct 5, 2023

What does the pull request do?

Fixes ButtonSpinnerLocation in SimpleTheme so that it works as expected when set to Location.Left. See #13123.

What is the current behavior?

Setting ButtonSpinner's ButtonSpinnerLocation to Location.Left has no effect when using the Simple theme.

What is the updated/expected behavior with this PR?

Setting ButtonSpinner's ButtonSpinnerLocation to Location.Left should move the spinner buttons to the left side of the content.

How was the solution implemented (if it's not obvious)?

Fixed the selector for the style that is supposed to move the spinner buttons. It specifies a StackPanel#PART_SpinnerPanel but the control in the template with that name is a UniformGrid, so it doesn't match anything.

Checklist

I don't think any of these apply.

Breaking changes

None.

Obsoletions / Deprecations

None.

Fixed issues

Fixes #13123

@avaloniaui-team
Copy link
Contributor

You can test this PR using the following package version. 11.0.999-cibuild0040470-beta. (feed url: https://nuget-feed-all.avaloniaui.net/v3/index.json) [PRBUILDID]

@stogle
Copy link
Contributor Author

stogle commented Oct 5, 2023

You can test this PR using the following package version. 11.0.999-cibuild0040470-beta.

This is incorrect. The actual package version is 11.1.999-cibuild0040470-beta (11.1.x, not 11.0.x).

I've tested with this package and it looks good.

@maxkatz6 maxkatz6 added this pull request to the merge queue Oct 6, 2023
Merged via the queue into AvaloniaUI:master with commit 54c573c Oct 6, 2023
6 checks passed
@timunie
Copy link
Contributor

timunie commented Oct 6, 2023

This is incorrect. The actual package version is 11.1.999-cibuild0040470-beta (11.1.x, not 11.0.x).

Thx for pointing this out. @danwalmsley is on it.

@stogle stogle deleted the fixes/13123-ButtonSpinnerLocation branch October 12, 2023 21:59
@maxkatz6 maxkatz6 added the backport-candidate-11.0.x Consider this PR for backporting to 11.0 branch label Nov 5, 2023
@maxkatz6 maxkatz6 added backported-11.0.x and removed backport-candidate-11.0.x Consider this PR for backporting to 11.0 branch labels Dec 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ButtonSpinnerLocation does not work with Simple theme
4 participants