1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 08:57:34 +00:00

Ladybird: Design settings layout in horizontal

This commit is contained in:
Federico Guerinoni 2023-01-20 23:37:25 +01:00 committed by Andrew Kaster
parent 0f45153bbb
commit 80da16e54a

View file

@ -18,8 +18,7 @@ SettingsDialog::SettingsDialog(QMainWindow* window)
m_homepage = new QLineEdit(this); m_homepage = new QLineEdit(this);
m_ok_button = new QPushButton("&Save", this); m_ok_button = new QPushButton("&Save", this);
m_layout->addWidget(new QLabel("Homepage", this)); m_layout->addRow(new QLabel("HomePage", this), m_homepage);
m_layout->addWidget(m_homepage);
m_layout->addWidget(m_ok_button); m_layout->addWidget(m_ok_button);
m_homepage->setText(s_settings->homepage()); m_homepage->setText(s_settings->homepage());