Modified scrollBar style in detail page.
This commit is contained in:
parent
76cf09907d
commit
1dfb178907
|
@ -435,6 +435,9 @@ void DetailArea::initUi()
|
|||
QPalette pal = palette();
|
||||
// pal.setColor(QPalette::Base, DETAIL_BACKGROUND_COLOR);
|
||||
pal.setColor(QPalette::Window, DETAIL_BACKGROUND_COLOR);
|
||||
QPalette scroll_bar_pal = this->verticalScrollBar()->palette();
|
||||
scroll_bar_pal.setColor(QPalette::Base, RESULT_BACKGROUND_COLOR);
|
||||
this->verticalScrollBar()->setPalette(scroll_bar_pal);
|
||||
this->setPalette(pal);
|
||||
this->setFrameShape(QFrame::Shape::NoFrame);
|
||||
this->setHorizontalScrollBarPolicy(Qt::ScrollBarAlwaysOff);
|
||||
|
|
Loading…
Reference in New Issue