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

Ladybird/Qt: Increase default size of the settings dialog

The current size is too small to be able to read the new tab URL. Use
the `resize` API rather than setting a fixed-size as well, to allow the
user to resize the dialog themselves.
This commit is contained in:
Timothy Flynn 2023-10-20 09:40:11 -04:00 committed by Tim Flynn
parent f8f0c5459d
commit 63577e8d1c

View file

@ -56,9 +56,9 @@ SettingsDialog::SettingsDialog(QMainWindow* window)
m_layout->addRow(new QLabel("Autocomplete Engine", this), m_autocomplete_engine_dropdown); m_layout->addRow(new QLabel("Autocomplete Engine", this), m_autocomplete_engine_dropdown);
setWindowTitle("Settings"); setWindowTitle("Settings");
setFixedWidth(300);
setFixedHeight(170);
setLayout(m_layout); setLayout(m_layout);
resize(600, 250);
show(); show();
setFocus(); setFocus();
} }