Browse Source

Fixed coloring of headers in TreeViews for dark themes.

Also added a corresponding style for the light themes to make it a little prettier (though it wasn't broken on light themes).
QGC4.4
Bryant 11 years ago
parent
commit
16cd6cc7a2
  1. 7
      files/styles/style-dark.css
  2. 7
      files/styles/style-light.css

7
files/styles/style-dark.css

@ -261,6 +261,13 @@ QGroupBox::title {
color: #DDD; color: #DDD;
} }
QHeaderView::section {
border: none;
border-right: 1px solid #969696;
padding: 2px 0 2px 4px;
background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #4B4B4B, stop: 0.3 #404040, stop: 0.34 #383838, stop:1 #181818);
}
QLabel { QLabel {
background-color: transparent; background-color: transparent;
} }

7
files/styles/style-light.css

@ -230,6 +230,13 @@ QGroupBox::title {
color: #000; color: #000;
} }
QHeaderView::section {
border: none;
border-right: 1px solid #969696;
padding: 2px 0 2px 4px;
background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #DDD, stop: 1 #999);
}
QLabel { QLabel {
background-color: transparent; background-color: transparent;
} }

Loading…
Cancel
Save