diff --git a/UI/window-basic-main.cpp b/UI/window-basic-main.cpp index 0e0d5b795..bae27e7c8 100644 --- a/UI/window-basic-main.cpp +++ b/UI/window-basic-main.cpp @@ -7845,6 +7845,11 @@ void OBSBasic::UpdatePause(bool activate) pause->setChecked(false); pause->setProperty("themeID", QVariant(QStringLiteral("pauseIconSmall"))); + + QSizePolicy sp; + sp.setHeightForWidth(true); + pause->setSizePolicy(sp); + connect(pause.data(), &QAbstractButton::clicked, this, &OBSBasic::PauseToggled); ui->recordingLayout->addWidget(pause.data()); @@ -7868,6 +7873,11 @@ void OBSBasic::UpdateReplayBuffer(bool activate) replay->setChecked(false); replay->setProperty("themeID", QVariant(QStringLiteral("replayIconSmall"))); + + QSizePolicy sp; + sp.setHeightForWidth(true); + replay->setSizePolicy(sp); + connect(replay.data(), &QAbstractButton::clicked, this, &OBSBasic::ReplayBufferSave); replayLayout->addWidget(replay.data());