Created
March 29, 2023 19:34
-
-
Save M4he/2df2accc509ea8a80640f8cbc5129397 to your computer and use it in GitHub Desktop.
PCManFM-Qt QSS fix for discolored PathBar when using the Breeze Qt5 style
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Add this as a .qss file to "Style Sheets" in qt5ct | |
// | |
// Notes: | |
// PathBar is within the Fm C++ namespace, see: | |
// https://github.com/lxqt/libfm-qt/blob/abd4aaa91c44d8141cdcc04972b906e10285a52f/src/pathbar.cpp#L36 | |
// https://doc.qt.io/qt-5/stylesheet-syntax.html#widgets-inside-c-namespaces | |
Fm--PathBar QScrollArea, Fm--PathBar .QWidget { | |
background: transparent; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This fixes the PathBar background being white instead of the window's color when using the Breeze Qt5 style:
(top: native PCManFM-Qt behavior, bottom: fixed QSS styling)
How to apply:
qt5ct
pcmanfm-qt-pathbar-fix.qss