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.

This commit is contained in:
AccentuSoft
2022-01-07 02:33:01 +02:00
parent edf7e795ad
commit 475fa81a44
2 changed files with 3 additions and 2 deletions

View File

@@ -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

View File

@@ -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; }
"""