mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-07-03 12:32:06 +08:00
Fix close button design (#21652)
* Fix close button design * center old-commit-hash: 1fb5d9b812791ffd2d62fe3973b99aa288254a83
This commit is contained in:
@@ -309,13 +309,15 @@ SettingsWindow::SettingsWindow(QWidget *parent) : QFrame(parent) {
|
||||
)");
|
||||
|
||||
// close button
|
||||
QPushButton *close_btn = new QPushButton("X");
|
||||
QPushButton *close_btn = new QPushButton("×");
|
||||
close_btn->setStyleSheet(R"(
|
||||
font-size: 90px;
|
||||
font-size: 140px;
|
||||
padding-bottom: 20px;
|
||||
font-weight: bold;
|
||||
border 1px grey solid;
|
||||
border-radius: 100px;
|
||||
background-color: #292929;
|
||||
font-weight: 400;
|
||||
)");
|
||||
close_btn->setFixedSize(200, 200);
|
||||
sidebar_layout->addSpacing(45);
|
||||
|
||||
Reference in New Issue
Block a user