Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
1 pixel space between ComboBoxItems closes ComboBox #2903
I have a very minor issue with the MetroComboBox that's not present in the default ComboBox.
There's a 1 pixel gap between each ComboBoxItem which when clicked causes the ComboBox to close without selecting an item. This is particularly annoying during testing when you just want to select any item in the list but happen to misclick on the gap.
The default ComboBox doesn't have this gap, every item sits flush next to each other.
The issue is the Grid's margin in the ComBoxItem ControlTemplate which is set to "0 0.5". This was obviously done for aesthetic reasons so setting the Grid's margin to "0" isn't the proper solution. Setting the Border's margin to "0 0.5" didn't seem to do anything. I'm not sure what the proper solution is.
What steps will reproduce this issue?
Not being able to have the mousepointer sit between ComboBoxItems, selecting nothing.