mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 10:37:44 +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:
parent
49c902d581
commit
ab1075e296
4 changed files with 51 additions and 10 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue