From 475fa81a440026875cfc9ea436b2522a2f27ca5a Mon Sep 17 00:00:00 2001 From: AccentuSoft Date: Fri, 7 Jan 2022 02:33:01 +0200 Subject: [PATCH] Made it so combo boxes don't fill the screen, and changed the UI of the Running Resolutions window to match the rest of the software. --- Core/Interface/MenuBar.py | 1 + Core/Interface/Stylesheets.py | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Core/Interface/MenuBar.py b/Core/Interface/MenuBar.py index 7210651..4361cfc 100644 --- a/Core/Interface/MenuBar.py +++ b/Core/Interface/MenuBar.py @@ -1124,6 +1124,7 @@ class ViewAndStopResolutionsDialog(QtWidgets.QDialog): def __init__(self, mainWindowObject): super(ViewAndStopResolutionsDialog, self).__init__() + self.setStyleSheet(Stylesheets.MAIN_WINDOW_STYLESHEET) self.setModal(True) self.setLayout(QtWidgets.QVBoxLayout()) self.mainWindowObject = mainWindowObject diff --git a/Core/Interface/Stylesheets.py b/Core/Interface/Stylesheets.py index e715c26..36c20f6 100644 --- a/Core/Interface/Stylesheets.py +++ b/Core/Interface/Stylesheets.py @@ -15,7 +15,7 @@ TOOLBAR_STYLESHEET = """QToolBar {background-color: rgb(41, 45, 62); """ MAIN_WINDOW_STYLESHEET = """ - QWidget, QDialog{ + QWidget, QFileDialog, QDialog{ background-color: rgb(41, 45, 62); color: rgba(248, 248, 242, 1) !important; font-size: 15px; @@ -77,7 +77,7 @@ MAIN_WINDOW_STYLESHEET = """ border-radius: 3px; border-top-color: rgb(0, 173, 238); } - + QComboBox { combobox-popup: 0; } """