square looks better

albatross
Comma Device 2020-12-30 18:08:18 +00:00
parent cd35e3c2fe
commit 3e34b67715
1 changed files with 5 additions and 5 deletions

View File

@ -218,15 +218,15 @@ SettingsWindow::SettingsWindow(QWidget *parent) : QFrame(parent) {
// close button
QPushButton *close_btn = new QPushButton("X");
close_btn->setStyleSheet(R"(
font-size: 65px;
font-size: 90px;
font-weight: bold;
border 1px grey solid;
border-radius: 75px;
background-color: #393939;
border-radius: 7px;
background-color: #292929;
)");
close_btn->setFixedSize(150, 150);
close_btn->setFixedSize(200, 180);
sidebar_layout->addSpacing(45);
sidebar_layout->addWidget(close_btn, 0, Qt::AlignHCenter);
sidebar_layout->addWidget(close_btn, 0, Qt::AlignLeft);
QObject::connect(close_btn, SIGNAL(released()), this, SIGNAL(closeSettings()));
// setup panels