mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-08 00:59:44 +00:00
Qt: Shrink settings window and make widgets stretch
This commit is contained in:
parent
ba356f78d1
commit
c6478cac2f
5 changed files with 10 additions and 8 deletions
|
@ -33,6 +33,7 @@ void InterfacePane::CreateLayout()
|
|||
CreateUI();
|
||||
CreateInGame();
|
||||
|
||||
m_main_layout->setContentsMargins(0, 0, 0, 0);
|
||||
m_main_layout->addStretch(1);
|
||||
setLayout(m_main_layout);
|
||||
}
|
||||
|
@ -48,14 +49,12 @@ void InterfacePane::CreateUI()
|
|||
groupbox_layout->addLayout(combobox_layout);
|
||||
|
||||
m_combobox_language = new QComboBox;
|
||||
m_combobox_language->setMaximumWidth(300);
|
||||
// TODO: Support more languages other then English
|
||||
m_combobox_language->addItem(tr("English"));
|
||||
combobox_layout->addRow(tr("&Language:"), m_combobox_language);
|
||||
|
||||
// Theme Combobox
|
||||
m_combobox_theme = new QComboBox;
|
||||
m_combobox_theme->setMaximumWidth(300);
|
||||
combobox_layout->addRow(tr("&Theme:"), m_combobox_theme);
|
||||
|
||||
// List avalable themes
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue