cabana: fix inconsistent size for play button (#27298)

This commit is contained in:
Dean Lee
2023-02-11 04:57:20 +08:00
committed by GitHub
parent 7cfa236ff2
commit 152f1bf485

View File

@@ -32,6 +32,7 @@ VideoWidget::VideoWidget(QWidget *parent) : QWidget(parent) {
// btn controls
QHBoxLayout *control_layout = new QHBoxLayout();
play_btn = new QPushButton();
play_btn->setSizePolicy(QSizePolicy::Preferred, QSizePolicy::Preferred);
control_layout->addWidget(play_btn);
QButtonGroup *group = new QButtonGroup(this);