Qt/Networking: same border-radius as other panels (#21646)

* fix border-radius

* setup:set style for Networking
old-commit-hash: 41538753f9578969d270edc1f6ba3e23bcd60b3a
This commit is contained in:
Dean Lee
2021-07-20 00:26:08 +08:00
committed by GitHub
parent df513f4124
commit 66efddac39
2 changed files with 1 additions and 4 deletions
-4
View File
@@ -56,10 +56,6 @@ Networking::Networking(QWidget* parent, bool show_advanced) : QFrame(parent) {
// TODO: revisit pressed colors
setStyleSheet(R"(
Networking {
border-radius: 13px;
background-color: #292929;
}
#wifiWidget > QPushButton, #back_btn, #advancedBtn {
font-size: 50px;
margin: 0px;
+1
View File
@@ -95,6 +95,7 @@ QWidget * Setup::network_setup() {
// wifi widget
Networking *wifi = new Networking(this, false);
wifi->setStyleSheet("Networking {background-color: #292929; border-radius: 13px;}");
main_layout->addWidget(wifi, 1);
main_layout->addSpacing(35);