From 61ec49c85d614542364396c034f72d4d913bcb33 Mon Sep 17 00:00:00 2001 From: philmoz Date: Tue, 29 Jul 2025 08:35:06 +1000 Subject: [PATCH] fix(simulator): missing border styling for customisable switch buttons (#6483) --- companion/src/simulation/widgets/radioswitchwidget.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/companion/src/simulation/widgets/radioswitchwidget.h b/companion/src/simulation/widgets/radioswitchwidget.h index ce5532da0..ab8726e3d 100644 --- a/companion/src/simulation/widgets/radioswitchwidget.h +++ b/companion/src/simulation/widgets/radioswitchwidget.h @@ -195,7 +195,7 @@ class RadioFuncSwitchWidget : public RadioWidget if (index == m_index && color != lastColor) { lastColor = color; QColor c = QColor((color >> 16) & 0xFF, (color >> 8) & 0xFF, color & 0xFF); - QString qss = QString("background-color: %1; border: none;").arg(c.name()); + QString qss = QString("border-style: outset; border-width: 2px; border-radius: 5px; border-color: darkgrey; padding: 2px; background-color: %1;").arg(c.name()); m_button->setStyleSheet(qss); } }