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

Can't restyle parts of controls properly because they use internal components that I can't access #46

Open
Pyritie opened this issue Feb 16, 2024 · 1 comment

Comments

@Pyritie
Copy link

Pyritie commented Feb 16, 2024

I would like to restyle some of the controls to fit the rest of my application, but I can't because tons of the library is marked as internal, or parts of it are hardcoded in a way that I can't restyle (such as HexColorTextBox's 70 width).

Examples:

  • I can't just create my own control template for HexColorTextBox, because it uses TextBoxFocusBehavior and ColorToHexConverter, both of which are internal
  • I cannot change the height of the sliders in ColorSliders or the size of the text boxes to the right, because the styles reference HslColorSlider etc which are internal
  • I can't use SquareSlider on its own (without the hue circle around it) because it's internal

Would it be possible to make more of these internals public?

@flabbet
Copy link
Member

flabbet commented Sep 9, 2024

Sorry for late response, these are valid points, I'll take them into consideration when making a new version

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

No branches or pull requests

2 participants