Skip to content
Permalink
Browse files

Change to darker background for side bar. No Frame for list widget

  • Loading branch information
NathanW2 committed Jan 8, 2014
1 parent 2daca28 commit 46a6024bd4d56ed20154304529a84abb1d7e8eb0
Showing with 2 additions and 1 deletion.
  1. +1 −1 src/app/qgisappstylesheet.cpp
  2. +1 −0 src/gui/qgsoptionsdialogbase.cpp
@@ -162,7 +162,7 @@ void QgisAppStyleSheet::buildStyleSheet( const QMap<QString, QVariant>& opts )
if ( sidebar )
{
QString style = "QListWidget#mOptionsListWidget {"
"background-color: rgb(162, 170, 179);"
"background-color: rgb(69, 69, 69, 220);"
"}"
"QListWidget#mOptionsListWidget::item {"
" color: white;"
@@ -69,6 +69,7 @@ void QgsOptionsDialogBase::initOptionsBase( bool restoreUi )
QSettings settings;
int size = settings.value( "/IconSize", 24 ).toInt();
mOptListWidget->setIconSize( QSize(size, size) );
mOptListWidget->setFrameStyle( QFrame::NoFrame );

optionsFrame->layout()->setContentsMargins(0,3,3,3);
QVBoxLayout* layout = static_cast<QVBoxLayout*>(optionsFrame->layout());

0 comments on commit 46a6024

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