Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Skins: Fix checkbox styling on Qt 6 #12050

Merged
merged 1 commit into from Nov 7, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 6 additions & 0 deletions res/skins/Deere/style.qss
Expand Up @@ -222,6 +222,12 @@ WLibrarySidebar {
selection-background-color: #006596;
}

/* Prevent OS-style checkbox from being rendered underneath the custom style. */
WTrackTableView::item,
#LibraryBPMButton::item {
border: 0px;
}

/* Selected rows in Tree and Tracks table */
WTrackTableView::item:selected,
WLibrarySidebar::item:selected,
Expand Down
5 changes: 5 additions & 0 deletions res/skins/LateNight/style_classic.qss
Expand Up @@ -2065,6 +2065,11 @@ WLibraryTextBrowser:focus {
border: 1px solid #d09300;
}

/* Prevent OS-style checkbox from being rendered underneath the custom style. */
WTrackTableView::item,
#LibraryBPMButton::item {
border: 0px;
}
/* Selected rows in Tree and Tracks table */
WLibrarySidebar::item:selected,
WTrackTableView::item:selected,
Expand Down
5 changes: 5 additions & 0 deletions res/skins/LateNight/style_palemoon.qss
Expand Up @@ -2549,6 +2549,11 @@ WLibrarySidebar {
WLibrarySidebar {
outline: none;
}
/* Prevent OS-style checkbox from being rendered underneath the custom style. */
WTrackTableView::item,
#LibraryBPMButton::item {
border: 0px;
}
/* Selected rows in Tree and Tracks table */
WLibrarySidebar::item:selected,
WTrackTableView::item:selected,
Expand Down
6 changes: 6 additions & 0 deletions res/skins/Shade/style.qss
Expand Up @@ -457,6 +457,12 @@ WLibraryTextBrowser {
padding-left: 10px;
}

/* Prevent OS-style checkbox from being rendered underneath the custom style. */
WTrackTableView::item,
#LibraryBPMButton::item {
border: 0px;
}

WTrackTableView::item:selected,
WSearchLineEdit::item:selected,
WSearchLineEdit::item:checked,
Expand Down
6 changes: 6 additions & 0 deletions res/skins/Shade/style_dark.qss
Expand Up @@ -165,6 +165,12 @@ WSearchLineEdit QToolButton:focus {
image: url(skin:/btn/btn_lib_clear_search_focus_green.svg);
}

/* Prevent OS-style checkbox from being rendered underneath the custom style. */
WTrackTableView::item,
#LibraryBPMButton::item {
border: 0px;
}

WLibrarySidebar::item:selected,
WTrackTableView::item:selected,
WLibrarySidebar::branch:selected,
Expand Down
6 changes: 6 additions & 0 deletions res/skins/Tango/style.qss
Expand Up @@ -2558,6 +2558,12 @@ WLibrarySidebar {
selection-background-color: #555;
}

/* Prevent OS-style checkbox from being rendered underneath the custom style. */
WTrackTableView::item,
#LibraryBPMButton::item {
border: 0px;
}

/* selected table row */
WTrackTableView::item:selected,
#LibraryBPMButton::item:selected {
Expand Down