ui/map: fix CSS error (#29332)

fix css error
old-commit-hash: 4a89928a9a1eebcf46e789a2df037af66b087252
This commit is contained in:
Dean Lee
2023-08-11 18:31:13 +08:00
committed by GitHub
parent f8d9860d20
commit b065f5c9a2
+1 -1
View File
@@ -35,7 +35,7 @@ MapWindow::MapWindow(const QMapboxGLSettings &settings) : m_settings(settings),
map_eta->setFixedHeight(120);
error = new QLabel(this);
error->setStyleSheet(R"(color:white;padding:50px 11px;font-size: 90px; background-color:rgb(0, 0, 0, 150);)");
error->setStyleSheet(R"(color:white;padding:50px 11px;font-size: 90px; background-color:rgba(0, 0, 0, 150);)");
error->setAlignment(Qt::AlignCenter);
overlay_layout->addWidget(error);