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

No outline theme for AutoCompleteBox (working code provided) #370

Open
1 task done
buzzware opened this issue Apr 17, 2024 · 2 comments
Open
1 task done

No outline theme for AutoCompleteBox (working code provided) #370

buzzware opened this issue Apr 17, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@buzzware
Copy link

buzzware commented Apr 17, 2024

Usage Information

3.5.0 / 11.0.10 / Desktop (Mac)

Description

There is no outline theme for AutoCompleteBox

Reproduction Steps

There is no theme defined in https://github.com/AvaloniaCommunity/Material.Avalonia/blob/master/Material.Styles/Resources/Themes/AutoCompleteBox.axaml

Expected Behavior

An outline theme to exist for AutoCompleteBox. I find the default Material underline style unsatisfactory.

Actual Behavior

It doesn't exist

Regression?

no

Known Workarounds

none known

Anything else?

I have created a repository
https://github.com/buzzware/AutoCompleteBoxPlay
demonstrating my own attempt at an outline theme by smooshing together the ComboBox outline and default AutoCompleteBox themes, but I have very little experience with WPF or Avalonia, and I have spent too much time already getting this to work well enough for my project.

I hope someone more familiar and experienced with best practices to implement it properly.

Could you help with a pull-request?

No

Is there an existing issue for this?

  • I have searched the existing issues
@buzzware buzzware added the bug Something isn't working label Apr 17, 2024
@buzzware buzzware changed the title No outline theme for AutoCompleteBox No outline theme for AutoCompleteBox (working code provided) Apr 17, 2024
@SKProCH SKProCH added enhancement New feature or request and removed bug Something isn't working labels Apr 17, 2024
@SKProCH
Copy link
Collaborator

SKProCH commented Apr 17, 2024

Should be covered with #327 when it will be done. (idk how long it takes)

@SKProCH
Copy link
Collaborator

SKProCH commented Apr 18, 2024

Also, you can probably try to change the theme for PART_TextBox in AutoCompleteBox.axaml and copy the styles to your own project.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants