    update(label, msg, c);
  
    setMinimumHeight(124);
    setStyleSheet("background-color: transparent;");
    setLayout(&layout);
  }
  
  void StatusWidget::paintEvent(QPaintEvent *e){
    QPainter p(this);
    p.setRenderHint(QPainter::Antialiasing, true);
 
</s> remove   update(label, msg, c);

 </s> add  </s> remove void StatusWidget::paintEvent(QPaintEvent *e){
 </s> add void StatusWidget::paintEvent(QPaintEvent *e) { </s> remove   setLayout(&layout);
 </s> add   setLayout(layout); </s> remove void SignalWidget::paintEvent(QPaintEvent *e){
 </s> add void SignalWidget::paintEvent(QPaintEvent *e) { </s> remove     status.setAlignment(Qt::AlignCenter);
    status.setStyleSheet(R"(font-size: 38px; font-weight: 500;)");
    layout.addWidget(&status, 0, Qt::AlignCenter);
 </s> add     status->setAlignment(Qt::AlignCenter);
    status->setStyleSheet(R"(font-size: 38px; font-weight: 500;)");
    layout->addWidget(status, 0, Qt::AlignCenter);
  setLayout(layout);
    update(label, msg, c);
  
    setMinimumHeight(124);
    setStyleSheet("background-color: transparent;");
  setLayout(layout);
  }
  
  void StatusWidget::paintEvent(QPaintEvent *e){
    QPainter p(this);
    p.setRenderHint(QPainter::Antialiasing, true);
keep keep keep keep 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