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

Exclude non-functional DatePicker from styles collection #218

Merged

Conversation

graealex
Copy link
Contributor

Currently, the Material DatePicker implementation is non-functional. However, the inclusion of the Material styles into a project heavily interferes with either providing a custom style for DatePicker, or just utilizing the Avalonia.Themes.Simple. The way <themes:MaterialTheme /> is structured, it is not possible to exclude styles for particular controls, and themes:BundledTheme isn't supported anymore. As such, the style declaration for DatePicker should be removed, until a time where both DatePicker and TimePicker have consistent and functional styling Material.Avalonia.

@SKProCH
Copy link
Collaborator

SKProCH commented Mar 23, 2023

Yep, thanks!

@SKProCH SKProCH merged commit 7570ffc into AvaloniaCommunity:3.0_major_update Mar 23, 2023
@graealex
Copy link
Contributor Author

I hope when 11 is stable, I get a chance to look at both DatePicker and TimePicker. And there are currently a few issues preventing Material.Avalonia from compiling with preview 6 as well. I could get Material.Avalonia to compile, but not the Demo because of upstream incompatibility, especially AvaloniaEdit.

@SKProCH
Copy link
Collaborator

SKProCH commented Mar 23, 2023

Yep, you can submit a PR for preview 6 support, if you want. I still planning to support this in near future.

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.

None yet

2 participants