Skip to content
This repository has been archived by the owner on Feb 12, 2023. It is now read-only.

Commit

Permalink
feat(ui): grey out proxy settings if no proxy selected
Browse files Browse the repository at this point in the history
This is a feature proposed in #2760.
Disabled port (QSpinBox) and address (QLineEdit) are greyed out if no proxy is selected.
  • Loading branch information
ezavod committed May 1, 2017
1 parent 469dd8f commit 77aa2e9
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions ui/settings/mainContent.css
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,11 @@ QSpinBox
background: white;
}

QSpinBox:disabled
{
background: lightGrey;
}

QPushButton
{
background: white;
Expand Down Expand Up @@ -66,6 +71,11 @@ QLineEdit
background-color: white;
}

QLineEdit:disabled
{
background-color: lightGrey;
}

QTabWidget
{
background-color: white;
Expand Down

0 comments on commit 77aa2e9

Please sign in to comment.