PixiEditor / ColorPicker

Customizable Color Picker control for WPF and AvaloniaUI
https://pixieditor.net/colorpicker
MIT License
262 stars 27 forks source link

For DPI greater than 100 with UseLayoutRounding="True" the circles are slightly offset #36

Open arebrov opened 1 year ago

arebrov commented 1 year ago
Screenshot 2023-08-03 151846

The fix is to set UseLayoutRounding="False" for ColorSliders and SquarePicker

Equbuxu commented 1 year ago

Hey, I can't reproduce the circles of the SquarePicker shifting (although the ones on the sliders do shift for me). I'm adjusting the UI scale in windows settings, cause I don't actually have a high dpi screen. What screen do you have?

arebrov commented 1 year ago

Hi, I have 150% at 2560x1440 resolution. It would be great if you could adapt all sizes to be multiples of 4, this would fix all high resolution issues without using the UseLayoutRounding property