Skip to content

Commit

Permalink
fix: adjust the system language module and shortcut key module button…
Browse files Browse the repository at this point in the history
…s to align with the default program module and date/time module.

Log: adjust the system language module and shortcut key module buttons to align with the default program module and date/time module.
  • Loading branch information
liwl1991 committed May 6, 2024
1 parent 3271853 commit 1824ab1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ ShortCutSettingWidget::ShortCutSettingWidget(ShortcutModel *model, QWidget *pare
btnLayout->setAlignment(Qt::AlignBottom | Qt::AlignHCenter);
btnLayout->addWidget(m_addCustomShortcut);
vlayout->addLayout(btnLayout);
vlayout->setContentsMargins(10, 10, 10, 0); //liwl,2024/05/06
vlayout->setContentsMargins(10, 10, 10, 0);
setLayout(vlayout);
setFocusPolicy(Qt::FocusPolicy::ClickFocus);

Expand Down
2 changes: 1 addition & 1 deletion src/frame/window/modules/keyboard/systemlanguagewidget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ SystemLanguageWidget::SystemLanguageWidget(KeyboardModel *model, QWidget *parent
btnLayout->setAlignment(Qt::AlignBottom | Qt::AlignHCenter);
btnLayout->addWidget(m_addSystemLanguage);
vLayout->addLayout(btnLayout);
vLayout->setContentsMargins(10, 10, 10, 0); //liwl,2024/05/06
vLayout->setContentsMargins(10, 10, 10, 0);
setLayout(vLayout);

connect(m_langListview, &DListView::clicked, this, &SystemLanguageWidget::setCurLangChecked);
Expand Down

0 comments on commit 1824ab1

Please sign in to comment.