Merge pull request #3333 from WizardCM/aap-percent-left

UI: Align Advanced Audio Percent toggle to Volume text
This commit is contained in:
Jim 2020-08-26 00:06:53 -07:00 committed by GitHub
commit d0db1a6eea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -28,6 +28,7 @@ OBSBasicAdvAudio::OBSBasicAdvAudio(QWidget *parent)
QLabel *volLabel = new QLabel(QTStr("Basic.AdvAudio.Volume"));
volLabel->setStyleSheet("font-weight: bold;");
volLabel->setContentsMargins(0, 0, 6, 0);
usePercent = new QCheckBox();
usePercent->setStyleSheet("font-weight: bold;");
@ -44,8 +45,8 @@ OBSBasicAdvAudio::OBSBasicAdvAudio(QWidget *parent)
QHBoxLayout *volLayout = new QHBoxLayout();
volLayout->setContentsMargins(0, 0, 0, 0);
volLayout->addWidget(volLabel);
volLayout->addStretch();
volLayout->addWidget(usePercent);
volLayout->addStretch();
int idx = 0;
mainLayout = new QGridLayout;