Skip to content

Commit ecb5074

Browse files
committed
Fix for Grid Mode scene list being broken.
1 parent e764e73 commit ecb5074

File tree

1 file changed

+12
-14
lines changed

1 file changed

+12
-14
lines changed

Yami_Twitch.ovt

Lines changed: 12 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -152,12 +152,10 @@ OBSDock > QWidget {
152152
/* because SourceTree::item is the parent of SourceTreeItem */
153153
/* which is a collection of elements that form sources */
154154

155-
/* Dont think this does anything anymore
156-
SceneTree {
157-
qproperty-gridItemWidth: 154;
158-
qproperty-gridItemHeight: 24;
155+
.list-grid SceneTree::item {
156+
margin: 2px 0px 0px 2px;
157+
border-radius: 0;
159158
}
160-
*/
161159

162160
QMenu,
163161
QListWidget {
@@ -171,17 +169,10 @@ SourceTree,
171169
QStackedWidget#stackedMixerArea {
172170
border: 1px solid var(--purple1);
173171
background: var(--grey8);
174-
margin: 0px 0px;
175172
padding: 0px;
176173
border-radius: 0px;
177174
}
178175

179-
SceneTree,
180-
SourceTree,
181-
QStackedWidget#stackedMixerArea {
182-
border-top: 3px solid var(--purple1);
183-
}
184-
185176
SceneTree::item {
186177
border-radius: 0px;
187178
margin: 1px;
@@ -317,8 +308,14 @@ QDockWidget {
317308
QDockWidget::title {
318309
background-color: var(--title_bg);
319310
text-align: left;
320-
margin-bottom: 2px;
321-
margin-right: 2px;
311+
margin: 0px 1px;
312+
border-bottom: 3px solid var(--purple1);
313+
}
314+
315+
/* For some reason mixerDock & customDocks need no margin, while rest need 0px 1px */
316+
QDockWidget::title#mixerDock,
317+
QDockWidget::title.BrowserDock {
318+
margin: 0;
322319
}
323320

324321
QDockWidget::close-button,
@@ -328,6 +325,7 @@ QDockWidget::float-button {
328325
subcontrol-origin: padding;
329326
background: transparent;
330327
border: none;
328+
top: -1px;
331329
}
332330

333331
QDockWidget::close-button {

0 commit comments

Comments
 (0)