    layout.setMargin(0);
    layout.setSpacing(0);
    layout.insertSpacing(0, 45);
  
    label.setText(text);
    layout.addWidget(&label, 0, Qt::AlignLeft);
    label.setStyleSheet(R"(font-size: 35px; font-weight: 400;)");
  
    setFixedWidth(177);
    setLayout(&layout);
  }
  
 
</s> remove SignalWidget::SignalWidget(QString text, int strength, QWidget* parent) : QFrame(parent), _strength(strength) {
  layout.setMargin(0);
  layout.setSpacing(0);
  layout.insertSpacing(0, 45);
 </s> add SignalWidget::SignalWidget(QWidget *parent) : QFrame(parent), _strength(0) {
  layout = new QVBoxLayout();
  layout->setMargin(0);
  layout->setSpacing(0);
  layout->insertSpacing(0, 45); </s> remove   setLayout(&layout);
 </s> add   setLayout(layout); </s> remove     layout.addWidget(&status, 0, Qt::AlignLeft);
    layout.addWidget(&substatus, 0, Qt::AlignLeft);
 </s> add     substatus = new QLabel(this);
    substatus->setAlignment(Qt::AlignLeft | Qt::AlignHCenter);
    substatus->setStyleSheet(R"(font-size: 30px; font-weight: 400;)");

    layout->addWidget(status, 0, Qt::AlignLeft);
    layout->addWidget(substatus, 0, Qt::AlignLeft); </s> remove   if(msg.length() > 0){
    layout.setContentsMargins(50, 24, 16, 24);
    status.setAlignment(Qt::AlignLeft | Qt::AlignHCenter);
    status.setStyleSheet(R"(font-size: 65px; font-weight: 500;)");
 </s> add   status = new QLabel(this); </s> remove void SignalWidget::paintEvent(QPaintEvent *e){
 </s> add void SignalWidget::paintEvent(QPaintEvent *e) {
  label = new QLabel(this);
  label->setStyleSheet(R"(font-size: 35px; font-weight: 400;)");
  layout->addWidget(label, 0, Qt::AlignLeft);
    layout.setMargin(0);
    layout.setSpacing(0);
    layout.insertSpacing(0, 45);
  
  label = new QLabel(this);
  label->setStyleSheet(R"(font-size: 35px; font-weight: 400;)");
  layout->addWidget(label, 0, Qt::AlignLeft);
  label = new QLabel(this);
  label->setStyleSheet(R"(font-size: 35px; font-weight: 400;)");
  layout->addWidget(label, 0, Qt::AlignLeft);
  label = new QLabel(this);
  label->setStyleSheet(R"(font-size: 35px; font-weight: 400;)");
  layout->addWidget(label, 0, Qt::AlignLeft);
  
    setFixedWidth(177);
    setLayout(&layout);
  }
  
keep keep keep keep replace replace replace keep keep keep keep keep
 Sidebar: update text and color in one place (#20777)

* do not set text&color in ctor

* cleanup

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com> 
selfdrive/ui/qt/sidebar.cc