Skip to content
Permalink
Browse files

remove outline of items in list widget when they have focus

  • Loading branch information
3nids committed Jan 15, 2014
1 parent 11ca7fa commit 20acfc0325f141da223dd899af9a94a8bb047d91
Showing with 4 additions and 3 deletions.
  1. +4 −3 src/app/qgisappstylesheet.cpp
@@ -162,7 +162,8 @@ void QgisAppStyleSheet::buildStyleSheet( const QMap<QString, QVariant>& opts )
if ( sidebar )
{
QString style = "QListWidget#mOptionsListWidget {"
"background-color: rgb(69, 69, 69, 220);"
" background-color: rgb(69, 69, 69, 220);"
" outline: 0;"
"}"
"QListWidget#mOptionsListWidget::item {"
" color: white;"
@@ -171,7 +172,7 @@ void QgisAppStyleSheet::buildStyleSheet( const QMap<QString, QVariant>& opts )
"QListWidget#mOptionsListWidget::item::selected {"
" color: black;"
" background-color:palette(Window);"
" padding-right: 0px; "
" padding-right: 0px;"
"}";
ss += style;
}
@@ -190,7 +191,7 @@ void QgisAppStyleSheet::buildStyleSheet( const QMap<QString, QVariant>& opts )
ss += QString( "QTableView {"
"selection-background-color: %1;"
"selection-color: %2;"
"}")
"}" )
.arg( palette.highlight().color().name() )
.arg( palette.highlightedText().color().name() );

0 comments on commit 20acfc0

Please sign in to comment.
You can’t perform that action at this time.