diff --git a/modules/gui/src/sequence/background_painter.cc b/modules/gui/src/sequence/background_painter.cc index 123ceacf379a1fa6efc8225a0d8557499d2dcb7f..25cf4c65022a3eb0783d7e678d93ca1cabe8e1ff 100644 --- a/modules/gui/src/sequence/background_painter.cc +++ b/modules/gui/src/sequence/background_painter.cc @@ -38,6 +38,9 @@ void BackgroundPainter::Paint(QPainter* painter, const QStyleOptionViewItem& opt painter->fillRect(option.rect, QColor(240,240,240)); } + else{ + painter->fillRect(option.rect, QColor(255,255,255)); + } if(index.row()>0 && (index.column())%10 == 0){ painter->setPen(QPen(QColor(135,135,135))); painter->drawLine(option.rect.topRight(),option.rect.bottomRight()); diff --git a/modules/gui/src/sequence/sequence_table_view.cc b/modules/gui/src/sequence/sequence_table_view.cc index 9cd77671acd7fb53a8bd4bad6b59a8930c34ef8e..f97bbb3e96636b8d273920f6782f5628c9959f25 100644 --- a/modules/gui/src/sequence/sequence_table_view.cc +++ b/modules/gui/src/sequence/sequence_table_view.cc @@ -169,7 +169,9 @@ void SequenceTableView::InitStaticField(){ static_field_->setVerticalScrollBarPolicy(Qt::ScrollBarAlwaysOff); static_field_->show(); static_field_->setStyleSheet("QTableView { border: 0px;" - "background-color: #FFFFFF}" + "selection-color: transparent;" + "selection-background-color: transparent;" + "background-color: white}" "QTableView::item{ border: none;" "padding: 0px; border-width: 0px; margin: 0px;}"); static_field_->setShowGrid(false);