added setting for compact emotes Fixed #821
This commit is contained in:
@@ -83,9 +83,12 @@ void LookPage::addInterfaceTab(LayoutCreator<QVBoxLayout> layout)
|
||||
|
||||
QObject::connect(theme, &QComboBox::currentTextChanged,
|
||||
[w](const QString &themeName) {
|
||||
if (themeName == "Custom") {
|
||||
if (themeName == "Custom")
|
||||
{
|
||||
w->show();
|
||||
} else {
|
||||
}
|
||||
else
|
||||
{
|
||||
w->hide();
|
||||
}
|
||||
getApp()->windows->forceLayoutChannelViews();
|
||||
@@ -97,9 +100,12 @@ void LookPage::addInterfaceTab(LayoutCreator<QVBoxLayout> layout)
|
||||
|
||||
{
|
||||
w->setButtonSymbols(QDoubleSpinBox::NoButtons);
|
||||
if (getApp()->themes->themeName.getValue() != "Custom") {
|
||||
if (getApp()->themes->themeName.getValue() != "Custom")
|
||||
{
|
||||
w->hide();
|
||||
} else {
|
||||
}
|
||||
else
|
||||
{
|
||||
w->show();
|
||||
}
|
||||
w->setRange(-1.0, 1.0);
|
||||
@@ -181,6 +187,9 @@ void LookPage::addMessageTab(LayoutCreator<QVBoxLayout> layout)
|
||||
layout.append(this->createCheckBox(
|
||||
"Alternate background", getSettings()->alternateMessageBackground));
|
||||
|
||||
layout.append(
|
||||
this->createCheckBox("Compact emotes", getSettings()->compactEmotes));
|
||||
|
||||
layout.append(this->createCheckBox("Grey out historic messages",
|
||||
getSettings()->greyOutHistoricMessages));
|
||||
// --
|
||||
|
||||
Reference in New Issue
Block a user