nielssp / colorgrab

A cross-platform color picker
MIT License
101 stars 9 forks source link

Window scaling doesn't apply to textboxes #8

Closed wonea closed 2 years ago

wonea commented 6 years ago

On Windows 10 with screen scaling set to 125% it doesn't resize textboxes correctly.

image

nielssp commented 6 years ago

Hm, just tried it with 125% scaling on Windows 10 and got the following: cgwin10 However, I did notice that with 125% scaling the color picker didn't work correctly; the picked color did not match the color under the cursor. It seemed like the cursor offset was somehow being scaled.

I also tried 125% scaling on Windows 7 which looked more like your screenshot, i.e. only the text was scaled and didn't fit in the text boxes.

nielssp commented 2 years ago

Fixed in version 0.4.0-pre.1 as the text fields are now sized dynamically.