Skip to content

Fix DateTimePickerPanel ItemHeight updates - #22158

Open
zrt2399 wants to merge 1 commit into
AvaloniaUI:mainfrom
zrt2399:fix-datetimepickerpanel-itemheight
Open

Fix DateTimePickerPanel ItemHeight updates#22158
zrt2399 wants to merge 1 commit into
AvaloniaUI:mainfrom
zrt2399:fix-datetimepickerpanel-itemheight

Conversation

@zrt2399

@zrt2399 zrt2399 commented Sep 6, 2026

Copy link
Copy Markdown
Contributor

What does the pull request do?

Fixes DateTimePickerPanel when ItemHeight changes dynamically, such as when it is bound to a Fluent theme resource:

ItemHeight="{DynamicResource DatePickerFlyoutPresenterItemHeight}"

What is the current behavior?

bugdemo6

What is the updated/expected behavior with this PR?

bugdemo5

Checklist

Fixed issues

Fixes #22157

@avaloniaui-bot

Copy link
Copy Markdown

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

@MrJul MrJul added bug backport-candidate-12.1.x Consider this PR for backporting to 12.1 branch area-controls labels Sep 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area-controls backport-candidate-12.1.x Consider this PR for backporting to 12.1 branch bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

DateTimePickerPanel.ItemHeight is not updated correctly after a dynamic resource change

3 participants