Skip to content

Commit

Permalink
remove outline of items in list widget when they have focus
Browse files Browse the repository at this point in the history
  • Loading branch information
3nids committed Jan 15, 2014
1 parent 11ca7fa commit 20acfc0
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/app/qgisappstylesheet.cpp
Expand Up @@ -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;"
Expand All @@ -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;
}
Expand All @@ -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() );

Expand Down

0 comments on commit 20acfc0

Please sign in to comment.