mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-10 13:00:29 +03:00
DisplaySettings: Add more resolution choices
These are 2x the smallest 4 resolutions. When picking one of these in 1x and then half the size in 2x, the window server adjust the ui scale factor, but the actual framebuffer size doesn't change. 2560x1440 also happens to be 5k resolution and monitors with that resolution do exist -- so that seems like a good upper limit :)
This commit is contained in:
parent
f37f281f89
commit
d7a3128c1d
Notes:
sideshowbarker
2024-07-18 23:09:17 +09:00
Author: https://github.com/nico Commit: https://github.com/SerenityOS/serenity/commit/d7a3128c1dc Pull-request: https://github.com/SerenityOS/serenity/pull/4966
@ -64,13 +64,17 @@ void DisplaySettingsWidget::create_resolution_list()
|
||||
m_resolutions.append({ 1024, 768 });
|
||||
m_resolutions.append({ 1280, 720 });
|
||||
m_resolutions.append({ 1280, 768 });
|
||||
m_resolutions.append({ 1280, 960 });
|
||||
m_resolutions.append({ 1280, 1024 });
|
||||
m_resolutions.append({ 1360, 768 });
|
||||
m_resolutions.append({ 1368, 768 });
|
||||
m_resolutions.append({ 1440, 900 });
|
||||
m_resolutions.append({ 1600, 900 });
|
||||
m_resolutions.append({ 1600, 1200 });
|
||||
m_resolutions.append({ 1920, 1080 });
|
||||
m_resolutions.append({ 2048, 1152 });
|
||||
m_resolutions.append({ 2560, 1080 });
|
||||
m_resolutions.append({ 2560, 1440 });
|
||||
}
|
||||
|
||||
void DisplaySettingsWidget::create_wallpaper_list()
|
||||
|
Loading…
Reference in New Issue
Block a user