Skip to content

Commit

Permalink
Change the background color of the selected text in a text box. (#5628)
Browse files Browse the repository at this point in the history
* Change the background color of the selected text in a text box.
The new background color matches the green background of selected items in a tree view.

* Add selection-background-color for QLineEdit widgets in the classic theme, but keep the color as it was.
  • Loading branch information
DigArtRoks authored Aug 13, 2020
1 parent 966f184 commit 1c1575c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions data/themes/classic/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ QLineEdit {
border: 2px inset rgba(91,101,113,128);
background: #49515b;
color: #e0e0e0;
selection-background-color: #202020;
}


Expand Down
1 change: 1 addition & 0 deletions data/themes/default/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ QLineEdit {
border: 1px;
background: #101213;
color: #d1d8e4;
selection-background-color: #17793b;
}

QLineEdit:read-only {
Expand Down

0 comments on commit 1c1575c

Please sign in to comment.