mirror of
https://github.com/citra-emu/citra.git
synced 2024-12-18 20:10:05 +00:00
citra_qt/cheats: Make window resizable and remove help hint
Fixes https://github.com/citra-emu/citra/issues/5575.
This commit is contained in:
parent
3f13e1cc24
commit
54a95e9c58
@ -17,7 +17,7 @@ CheatDialog::CheatDialog(QWidget* parent)
|
|||||||
: QDialog(parent), ui(std::make_unique<Ui::CheatDialog>()) {
|
: QDialog(parent), ui(std::make_unique<Ui::CheatDialog>()) {
|
||||||
// Setup gui control settings
|
// Setup gui control settings
|
||||||
ui->setupUi(this);
|
ui->setupUi(this);
|
||||||
setWindowFlags(Qt::Dialog | Qt::MSWindowsFixedSizeDialogHint);
|
setWindowFlags(windowFlags() & ~Qt::WindowContextHelpButtonHint);
|
||||||
ui->tableCheats->setColumnWidth(0, 30);
|
ui->tableCheats->setColumnWidth(0, 30);
|
||||||
ui->tableCheats->setColumnWidth(2, 85);
|
ui->tableCheats->setColumnWidth(2, 85);
|
||||||
ui->tableCheats->horizontalHeader()->setSectionResizeMode(0, QHeaderView::Fixed);
|
ui->tableCheats->horizontalHeader()->setSectionResizeMode(0, QHeaderView::Fixed);
|
||||||
|
Loading…
Reference in New Issue
Block a user