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

CheckComboBox DropDown Button Missing #1781

Open
LaurenceBunnage opened this issue Sep 10, 2024 · 1 comment
Open

CheckComboBox DropDown Button Missing #1781

LaurenceBunnage opened this issue Sep 10, 2024 · 1 comment

Comments

@LaurenceBunnage
Copy link

I have discovered an interesting issue.

I was using the CheckComboBox in the header of a DataGrid (Not yours) and it was required to set the DataFrid Style to use thin scroll bars which seems to be a modern trend.

When I applied my style to make the DataGrid scroll bars thinner, the DropDown button on the CheckComboBox disappeared.
Digging deeper, looking at the styles used, the size of the FropDown button is determined by the SystemParameters.VerticalScrollBarWidthKey which I had changed to 5 to make the scrollbars thinner.

I think using the SystemParameters.VerticalScrollBarWidthKey to set the size of the DropDown button is a bug or at least a big design flaw. It really should be based on the size of the DownArrowGeometry

@XceedBoucherS
Copy link
Collaborator

Hi LaurenceBunnage,
Good observation !
This will be fixed in the next release.
The size of the DropDown button will no longer depends on SystemParameters.VerticalScrollBarWidthKey.

Thank you !

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