question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Implement styles for all Avalonia's controls

See original GitHub issue

Since we positioning Material.Avalonia as standalone styles library we should add styles to all existing Avalonia controls.
Of course anyone can just reference FluentTheme before our theme and with ControlThemes it will work fine, but we should provide a basic support for all controls.

List of currently missing controls:

  • AdornerLayer.xaml
  • CalendarDatePicker.xaml
  • CaptionButtons.xaml
  • PathIcon.xaml
  • SplitButton.xaml
  • TitleBar.xaml
  • DateTimePickerShared.xaml
  • DatePicker.xaml
  • TimePicker.xaml
  • DropDownButton.xaml
  • ManagedFileChooser.xaml
  • SelectableTextBlock.xaml
  • RefreshContainer.xaml
  • RefreshVisualizer.xaml

New files should be created in Resources/Themes folder and imported in MaterialToolKit.xaml. All PRs and support are highly appreciated.

Issue Analytics

  • State:open
  • Created 4 months ago
  • Comments:5

github_iconTop GitHub Comments

2reactions
SKProCHcommented, Jun 16, 2023

@NoizeDaemon, I’ve commented a Calendar styles (they need a bit more polishing) and it works fine with latest nightly. Give it a try.

1reaction
NoizeDaemoncommented, Jun 17, 2023

Works now! 😃 Thank you!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Styles
At its most basic, a style consists of a selector and a collection of setters. A style applies to the control that it...
Read more >
How to apply style to all control types? (e.g. ` ...
Is there any way to apply a style to all control types? I'd expect it to look like the below, where available properties...
Read more >
Styles in AvaloniaUI
If you want to set different styles on different views for same control you should include different styles files into your view. Avalonia...
Read more >
017. Avalonia UI - Control Themes Styling - YouTube
Support me in my journey to giving back to the industry all my knowledge and helping the world with what I do. Spreading...
Read more >
005. Avalonia UI - Templated Controls - YouTube
Support me in my journey to giving back to the industry all my knowledge and helping the world with what I do. Spreading...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found