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 incorrect usage of ComboBox in control catalog ViewboxPage #14972

Merged
merged 1 commit into from
Mar 14, 2024

Conversation

gehongyan
Copy link
Contributor

What does the pull request do?

This pull request tries to fix the incorrect usage of ComboBox in ViewboxPage.

What is the current behavior?

The items of the ComboBox in ViewboxPage do not display as expected.

image

What is the updated/expected behavior with this PR?

The ArrayList should be set to ItemsSource property instead of the Content on the ComboBox.

image

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

Moved the ArrayList instances into the ItemsSource property.

Checklist

Breaking changes

None.

Obsoletions / Deprecations

None.

Fixed issues

None.

@maxkatz6 maxkatz6 merged commit efecbae into AvaloniaUI:master Mar 14, 2024
3 of 6 checks passed
@avaloniaui-bot
Copy link

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

@gehongyan gehongyan deleted the fix-viewbox-combobox branch March 14, 2024 05:27
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.

3 participants