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

fix:(TimePicker): TimePicker should respect *Alignment #13691

Merged

Conversation

workgroupengineering
Copy link
Contributor

TimePicker should respect HorizontalAlignment and VerticalAlignment properties set in XAML

What does the pull request do?

What is the current behavior?

image

What is the updated/expected behavior with this PR?

immagine

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

Checklist

Breaking changes

Obsoletions / Deprecations

Fixed issues

Fixes #13658

@timunie
Copy link
Contributor

timunie commented Nov 22, 2023

I'm not sure how to align the text. It is currently on top center. Is it / bound to ContentAlignment? Should it even be bound to ContentAlignment or is this by design?

@workgroupengineering
Copy link
Contributor Author

I'm not sure how to align the text. It is currently on top center. Is it / bound to ContentAlignment? Should it even be bound to ContentAlignment or is this by design?

I have the same doubt as you, but I maintained the current behavior because I thought it was by design.

@timunie
Copy link
Contributor

timunie commented Nov 22, 2023

looking further the Top-position is not hard coded, so it should be easy to write a selector for it if needed. The centering is by design. So I think we may want to leave this part untouched for now.

@maxkatz6 maxkatz6 added this pull request to the merge queue Dec 1, 2023
Merged via the queue into AvaloniaUI:master with commit 5bcd3d6 Dec 1, 2023
@workgroupengineering workgroupengineering deleted the fixes/Themes/TimePicker branch December 1, 2023 09:59
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

Successfully merging this pull request may close these issues.

TimePicker should respect HorizontalAlignment and VerticalAlignment properties set in XAML
3 participants