Skip to content

Commit

Permalink
Update docs / 2024-01-08 / 18:57:24
Browse files Browse the repository at this point in the history
  • Loading branch information
pthom committed Jan 8, 2024
1 parent 9ad67c3 commit 0149297
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/book/_sources/doc_api.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ Special care must be taken in order to correctly handle screen with high DPI

Using ImVec2 with fixed values is *almost always a bad idea* if you intend your
application to be used on high DPI screens!
Otherwise, widgets might be misplaced or too small on different screens and/or OSes.
Otherwise, widgets might be misplaced or too small on different screens and/or OSes.

Instead you should use scale your widgets and windows relatively to the font size,
as is done with the [em CSS Unit](https://lyty.dev/css/css-unit.html).
Expand Down

0 comments on commit 0149297

Please sign in to comment.