limit style scope (#23181)
old-commit-hash: 2335a2058489bff8f7a930dec81fdd4000876478
This commit is contained in:
@@ -165,13 +165,9 @@ DevicePanel::DevicePanel(SettingsWindow *parent) : ListWidget(parent) {
|
||||
QObject::connect(poweroff_btn, &QPushButton::clicked, this, &DevicePanel::poweroff);
|
||||
|
||||
setStyleSheet(R"(
|
||||
QPushButton {
|
||||
height: 120px;
|
||||
border-radius: 15px;
|
||||
}
|
||||
#reboot_btn { background-color: #393939; }
|
||||
#reboot_btn { height: 120px; border-radius: 15px; background-color: #393939; }
|
||||
#reboot_btn:pressed { background-color: #4a4a4a; }
|
||||
#poweroff_btn { background-color: #E22C2C; }
|
||||
#poweroff_btn { height: 120px; border-radius: 15px; background-color: #E22C2C; }
|
||||
#poweroff_btn:pressed { background-color: #FF2424; }
|
||||
)");
|
||||
addItem(power_layout);
|
||||
|
||||
Reference in New Issue
Block a user