Skip to content

Commit

Permalink
[themes] Fix blend of gray checkbox glitches when embedded into table…
Browse files Browse the repository at this point in the history
… (et cie) widgets
  • Loading branch information
nirvn committed Sep 17, 2020
1 parent c44178f commit 52c3143
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 6 deletions.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 10 additions & 2 deletions resources/themes/Blend of Gray/style.qss
Expand Up @@ -631,7 +631,7 @@ QGroupBox::indicator:checked:disabled {

QRadioButton::indicator
{
border: 1px solid @background;
border: 1px solid rgba(0,0,0,0);
width:0.8em;
height:0.8em;
}
Expand All @@ -654,13 +654,17 @@ QRadioButton::indicator:checked:disabled {
image: url(@theme_path/icons/qradiobox-checked-disabled.svg);
}

QRadioButton:disabled {
background-color: transparent;
}

/* ==================================================================================== */
/* CHECKBOX */
/* ==================================================================================== */

QCheckBox::indicator
{
border: 1px solid @background;
border: 1px solid rgba(0,0,0,0);
width:0.8em;
height:0.8em;
}
Expand All @@ -681,6 +685,10 @@ QCheckBox::indicator:checked:disabled {
image: url(@theme_path/icons/qcheckbox-checked-disabled.svg);
}

QCheckBox:disabled {
background-color: transparent;
}

/* ==================================================================================== */
/* SLIDER */
/* ==================================================================================== */
Expand Down

0 comments on commit 52c3143

Please sign in to comment.