mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-04-27 07:48:01 -07:00
adjust span
This commit is contained in:
parent
71b79915d3
commit
f98809eabf
1 changed files with 9 additions and 8 deletions
|
|
@ -831,24 +831,25 @@ MessagesSettingsPage::MessagesSettingsPage()
|
|||
chatGrid->addWidget(mentionColor, 0, 2);
|
||||
chatGrid->addWidget(&chatMentionCompleterCheckbox, 1, 0, 1, 2);
|
||||
chatGrid->addWidget(&hexLabel, 1, 2);
|
||||
chatGrid->addWidget(&ignoreUnregUsersMainChat, 2, 0, 1, 2);
|
||||
chatGrid->addWidget(&ignoreUnregUserMessages, 3, 0, 1, 2);
|
||||
chatGrid->addWidget(&messagePopups, 4, 0, 1, 2);
|
||||
chatGrid->addWidget(&mentionPopups, 5, 0, 1, 2);
|
||||
chatGrid->addWidget(&roomHistory, 6, 0, 1, 2);
|
||||
chatGrid->addWidget(&ignoreUnregUsersMainChat, 2, 0, 1, 3);
|
||||
chatGrid->addWidget(&ignoreUnregUserMessages, 3, 0, 1, 3);
|
||||
chatGrid->addWidget(&messagePopups, 4, 0, 1, 3);
|
||||
chatGrid->addWidget(&mentionPopups, 5, 0, 1, 3);
|
||||
chatGrid->addWidget(&roomHistory, 6, 0, 1, 3);
|
||||
chatGroupBox = new QGroupBox;
|
||||
chatGroupBox->setLayout(chatGrid);
|
||||
|
||||
highlightColor = new QLineEdit();
|
||||
highlightColor->setPlaceholderText(tr("HEX Color Code"));
|
||||
highlightColor->setText(SettingsCache::instance().getChatHighlightColor());
|
||||
updateHighlightPreview();
|
||||
connect(highlightColor, SIGNAL(textChanged(QString)), this, SLOT(updateHighlightColor(QString)));
|
||||
|
||||
auto *highlightNotice = new QGridLayout;
|
||||
highlightNotice->addWidget(highlightColor, 0, 2);
|
||||
highlightNotice->addWidget(&invertHighlightForeground, 0, 1);
|
||||
highlightNotice->addWidget(&hexHighlightLabel, 1, 2);
|
||||
highlightNotice->addWidget(customAlertString, 0, 0);
|
||||
highlightNotice->addWidget(&invertHighlightForeground, 0, 1);
|
||||
highlightNotice->addWidget(highlightColor, 0, 2);
|
||||
highlightNotice->addWidget(&hexHighlightLabel, 1, 2);
|
||||
highlightNotice->addWidget(&customAlertStringLabel, 1, 0, 1, 2);
|
||||
highlightGroupBox = new QGroupBox;
|
||||
highlightGroupBox->setLayout(highlightNotice);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue