-
-
Notifications
You must be signed in to change notification settings - Fork 109
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Tooltip size independent of device density (#1075)
To scale the size of tooltip widgets, we modify the "density" field in the tooltip's placement. Our implementation replaced the default density with a fixed value. However, that default density is different between devices; when we replace the device-dependent density value with a fixed number, we introduce differences between devices. In practice, this meant that tooltips could be too large on some systems and too small on others. This PR makes the tooltip's density dependent of the device's density, so tooltips have the same relative size everywhere.
- Loading branch information
1 parent
5c79128
commit 91ccb74
Showing
4 changed files
with
15 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters