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:
@@ -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
|
||||
|
||||
@@ -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; }
|
||||
|
||||
"""
|
||||
|
||||
|
||||
Reference in New Issue
Block a user