From e198e27997c35a10f322909b9b958c52d48960d2 Mon Sep 17 00:00:00 2001 From: Blackhive Date: Wed, 14 Jan 2015 02:15:24 -0500 Subject: [PATCH] UI: Fix minor stylesheet issues This does a few small things -Moves buttons down 20px to the same height as the list boxes -Adds a QFrame around scrollArea for mixer list. Q: Why was this done? A: When you go to style the mixer list in regards to adding a border, shadow, or glow, it needs to be done on the QFrame. If you do it on the scrollArea itself, the scrollbars will overlap the bottom of the border, causing the border to look cut-off. Additionally, the other two sources and scenes list widgets already had frames, so they did not have this problem. --- obs/forms/OBSBasic.ui | 116 +++++++++++++++++++++++++++--------------- 1 file changed, 76 insertions(+), 40 deletions(-) diff --git a/obs/forms/OBSBasic.ui b/obs/forms/OBSBasic.ui index 5f6a49a61..278214bb1 100644 --- a/obs/forms/OBSBasic.ui +++ b/obs/forms/OBSBasic.ui @@ -30,6 +30,9 @@ :/res/images/obs.png:/res/images/obs.png + + + @@ -326,49 +329,82 @@ - - - Qt::ScrollBarAlwaysOn + + + + 0 + 0 + - - Qt::ScrollBarAlwaysOff + + QFrame::StyledPanel - - true + + QFrame::Raised - - - - 0 - 0 - 216 - 16 - + + + 0 - - - 0 - 0 - + + 0 - - - 0 - - - 0 - - - 0 - - - 0 - - - 0 - - - + + 0 + + + 0 + + + 0 + + + + + Qt::ScrollBarAlwaysOn + + + Qt::ScrollBarAlwaysOff + + + true + + + + + 0 + 0 + 231 + 16 + + + + + 0 + 0 + + + + + 0 + + + 0 + + + 0 + + + 0 + + + 0 + + + + + + @@ -396,7 +432,7 @@ 0 - 0 + 20 0 @@ -455,7 +491,7 @@ 0 0 927 - 26 + 21