mirror of
https://github.com/obsproject/obs-studio.git
synced 2024-09-20 13:08:50 +02:00
UI: Fix minor Rachni theme bugs
The tab bars in the Rachni theme had an issue related to an attempted property of qproperty-drawBase: 0 in the .qss file. This, in theory, should have worked and removed the base of the tab bar, but there is a bug that prevents this from consistently applying, as detailed here: https://bugreports.qt.io/browse/QTBUG-2982 This fix removes that property, and adjusts the styling of the tabs themselves for a more consistent experience. Tabs should no longer be cut off or displayed improperly. In addition, this also corrects an issue with the scene/source rename QLineEdit field displaying improperly.
This commit is contained in:
parent
2f577c1b71
commit
c3badc4a54
@ -298,7 +298,6 @@ QTabWidget::tab-bar {
|
|||||||
/********************/
|
/********************/
|
||||||
|
|
||||||
QTabBar {
|
QTabBar {
|
||||||
qproperty-drawBase: 0;
|
|
||||||
border-radius: 3px;
|
border-radius: 3px;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -324,21 +323,27 @@ QTabBar::close-button:pressed {
|
|||||||
QTabBar::tab {
|
QTabBar::tab {
|
||||||
color: rgb(239, 240, 241); /* White */
|
color: rgb(239, 240, 241); /* White */
|
||||||
border: 1px solid rgb(118, 121, 124); /* Light Gray */
|
border: 1px solid rgb(118, 121, 124); /* Light Gray */
|
||||||
border-bottom: 1px transparent;
|
|
||||||
background-color: rgba(240, 98, 146, 0.5); /* Pink (Secondary) */
|
background-color: rgba(240, 98, 146, 0.5); /* Pink (Secondary) */
|
||||||
padding: 5px;
|
padding: 5px;
|
||||||
min-width: 50px;
|
min-width: 50px;
|
||||||
|
}
|
||||||
|
|
||||||
|
QTabBar::tab:top {
|
||||||
|
border-bottom: 1px transparent;
|
||||||
border-top-left-radius: 2px;
|
border-top-left-radius: 2px;
|
||||||
border-top-right-radius: 2px;
|
border-top-right-radius: 2px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
QTabBar::tab:bottom {
|
||||||
|
margin-bottom: 4px;
|
||||||
|
border-bottom-left-radius: 2px;
|
||||||
|
border-bottom-right-radius: 2px;
|
||||||
|
height: 12px;
|
||||||
|
}
|
||||||
|
|
||||||
QTabBar::tab:!selected {
|
QTabBar::tab:!selected {
|
||||||
color: rgb(239, 240, 241); /* White */
|
color: rgb(239, 240, 241); /* White */
|
||||||
background-color: rgb(84, 87, 91); /* Gray */
|
background-color: rgb(84, 87, 91); /* Gray */
|
||||||
border: 1px solid rgb(118, 121, 124); /* Light Gray */
|
|
||||||
border-bottom: 1px transparent;
|
|
||||||
border-top-left-radius: 2px;
|
|
||||||
border-top-right-radius: 2px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
QTabBar::tab:!selected:hover {
|
QTabBar::tab:!selected:hover {
|
||||||
@ -495,6 +500,16 @@ QLineEdit {
|
|||||||
color: rgb(239, 240, 241); /* White */
|
color: rgb(239, 240, 241); /* White */
|
||||||
}
|
}
|
||||||
|
|
||||||
|
QListWidget QLineEdit {
|
||||||
|
padding-top: 0;
|
||||||
|
padding-bottom: 0;
|
||||||
|
padding-right: 0;
|
||||||
|
padding-left: 2px;
|
||||||
|
border: none;
|
||||||
|
border-radius: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
/**********************/
|
/**********************/
|
||||||
/* --- Checkboxes --- */
|
/* --- Checkboxes --- */
|
||||||
/**********************/
|
/**********************/
|
||||||
@ -986,7 +1001,6 @@ QSlider::handle:disabled {
|
|||||||
/* --- Misc --- */
|
/* --- Misc --- */
|
||||||
/****************/
|
/****************/
|
||||||
|
|
||||||
|
|
||||||
/* Highlight linked hotkeys */
|
/* Highlight linked hotkeys */
|
||||||
OBSHotkeyLabel[hotkeyPairHover=true] {
|
OBSHotkeyLabel[hotkeyPairHover=true] {
|
||||||
color: rgb(240, 98, 146); /* Pink (Secondary) */
|
color: rgb(240, 98, 146); /* Pink (Secondary) */
|
||||||
|
Loading…
Reference in New Issue
Block a user