1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 07:27:45 +00:00

DisplaySettings: Show DPI for selected resolution

This uses the EDID provided by the connected display to show the pixel
density of a selected resolution.
This commit is contained in:
Tom 2022-01-17 09:26:37 -07:00 committed by Linus Groh
parent 49c902d581
commit ab1075e296
4 changed files with 51 additions and 10 deletions

View file

@ -54,6 +54,13 @@
@GUI::ComboBox {
name: "resolution_combo"
}
@GUI::Label {
name: "display_dpi"
text: "96 dpi"
text_alignment: "CenterMiddle"
fixed_width: 50
}
}
@GUI::Widget {