Scale factor event #1306
ThatsNoMoon
started this conversation in
Ideas
Replies: 1 comment
-
Sounds reasonable! It should be fairly easy to add a new |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi hi, enjoying using
iced
so far.It would be nice if
iced
would include an event likewinit
'sScaleFactorChanged
. Sinceiced
seems to handle different scale factors pretty well already, I imagine it wouldn't be too difficult to also send that event to the user. My current use-case is drawing a different icon based on scale factor, as I've found the smaller sizes of the icon need to have higher contrast to stay as legible. Other considerations might include getting the scale factor before the window is open, if possible.Beta Was this translation helpful? Give feedback.
All reactions