1
0
Fork 0
mirror of synced 2024-05-18 19:42:54 +12:00

Stylesheets: set minimum height in ex

This commit is contained in:
loathingKernel 2024-02-23 10:47:31 +02:00
parent e8e39fa391
commit 8a421b08f8
No known key found for this signature in database
GPG key ID: CE0C72D0B53821FD
8 changed files with 132 additions and 142 deletions

View file

@ -106,12 +106,14 @@ QSpinBox,
QDoubleSpinBox, QDoubleSpinBox,
QProgressBar, QProgressBar,
QPushButton { QPushButton {
min-height: 3.00ex;
/* min-height: 1.30em; */ /* min-height: 1.30em; */
min-height: 18px; /* min-height: 18px; */
} }
QToolButton { QToolButton {
min-height: 3.00ex;
/* min-height: 1.10em; */ /* min-height: 1.10em; */
min-height: 15px; /* min-height: 15px; */
} }
QFrame[frameShape="0"] { QFrame[frameShape="0"] {
@ -181,15 +183,19 @@ QComboBox QAbstractItemView {
border-top-width: 1; border-top-width: 1;
image: url(":/stylesheets/ChildOfMetropolis/sort-down.svg"); image: url(":/stylesheets/ChildOfMetropolis/sort-down.svg");
} }
QProgressBar { QProgressBar {
padding: 0px; padding: 0px;
text-align: center; text-align: center;
} }
QProgressBar::chunk { QProgressBar::chunk {
padding: 0px;
border-width: 0px;
width: 2%; width: 2%;
margin: 0%; margin: 0px;
background-color: #71DA7E; background-color: #71DA7E;
} }
QScrollBar { QScrollBar {
border-radius: 4px; border-radius: 4px;
padding: 1px; padding: 1px;

View file

@ -106,12 +106,14 @@ QSpinBox,
QDoubleSpinBox, QDoubleSpinBox,
QProgressBar, QProgressBar,
QPushButton { QPushButton {
min-height: 3.00ex;
/* min-height: 1.30em; */ /* min-height: 1.30em; */
min-height: 18px; /* min-height: 18px; */
} }
QToolButton { QToolButton {
min-height: 3.00ex;
/* min-height: 1.10em; */ /* min-height: 1.10em; */
min-height: 15px; /* min-height: 15px; */
} }
QFrame[frameShape="0"] { QFrame[frameShape="0"] {
@ -181,15 +183,19 @@ QComboBox QAbstractItemView {
border-top-width: 1; border-top-width: 1;
image: url(":/stylesheets/RareStyle/sort-down.svg"); image: url(":/stylesheets/RareStyle/sort-down.svg");
} }
QProgressBar { QProgressBar {
padding: 0px; padding: 0px;
text-align: center; text-align: center;
} }
QProgressBar::chunk { QProgressBar::chunk {
padding: 0px;
border-width: 0px;
width: 2%; width: 2%;
margin: 0%; margin: 0px;
background-color: rgb( 39, 66, 66); background-color: rgb( 39, 66, 66);
} }
QScrollBar { QScrollBar {
border-radius: 4px; border-radius: 4px;
padding: 1px; padding: 1px;

View file

@ -2,7 +2,7 @@
# Form implementation generated from reading ui file 'rare/ui/components/tabs/downloads/download_widget.ui' # Form implementation generated from reading ui file 'rare/ui/components/tabs/downloads/download_widget.ui'
# #
# Created by: PyQt5 UI code generator 5.15.8 # Created by: PyQt5 UI code generator 5.15.10
# #
# WARNING: Any manual changes made to this file will be lost when pyuic5 is # WARNING: Any manual changes made to this file will be lost when pyuic5 is
# run again. Do not edit this file unless you know what you are doing. # run again. Do not edit this file unless you know what you are doing.
@ -14,28 +14,24 @@ from PyQt5 import QtCore, QtGui, QtWidgets
class Ui_DownloadWidget(object): class Ui_DownloadWidget(object):
def setupUi(self, DownloadWidget): def setupUi(self, DownloadWidget):
DownloadWidget.setObjectName("DownloadWidget") DownloadWidget.setObjectName("DownloadWidget")
DownloadWidget.resize(490, 90) DownloadWidget.resize(479, 86)
DownloadWidget.setWindowTitle("DownloadWidget") DownloadWidget.setWindowTitle("DownloadWidget")
self.active_download_layout = QtWidgets.QGridLayout(DownloadWidget) self.active_download_layout = QtWidgets.QGridLayout(DownloadWidget)
self.active_download_layout.setContentsMargins(0, 0, 0, 0) self.active_download_layout.setContentsMargins(0, 0, 0, 0)
self.active_download_layout.setObjectName("active_download_layout") self.active_download_layout.setObjectName("active_download_layout")
self.downloaded = QtWidgets.QLabel(DownloadWidget) self.dl_name = QtWidgets.QLabel(DownloadWidget)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Maximum)
sizePolicy.setHorizontalStretch(0) sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0) sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.downloaded.sizePolicy().hasHeightForWidth()) sizePolicy.setHeightForWidth(self.dl_name.sizePolicy().hasHeightForWidth())
self.downloaded.setSizePolicy(sizePolicy) self.dl_name.setSizePolicy(sizePolicy)
self.downloaded.setText("downloaded")
self.downloaded.setObjectName("downloaded")
self.active_download_layout.addWidget(self.downloaded, 2, 3, 1, 1)
self.dl_speed_label = QtWidgets.QLabel(DownloadWidget)
font = QtGui.QFont() font = QtGui.QFont()
font.setBold(True) font.setBold(False)
font.setWeight(75) font.setWeight(50)
self.dl_speed_label.setFont(font) self.dl_name.setFont(font)
self.dl_speed_label.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter) self.dl_name.setText("dl_name")
self.dl_speed_label.setObjectName("dl_speed_label") self.dl_name.setObjectName("dl_name")
self.active_download_layout.addWidget(self.dl_speed_label, 1, 2, 1, 1) self.active_download_layout.addWidget(self.dl_name, 0, 1, 1, 3)
self.dl_name_label = QtWidgets.QLabel(DownloadWidget) self.dl_name_label = QtWidgets.QLabel(DownloadWidget)
font = QtGui.QFont() font = QtGui.QFont()
font.setBold(True) font.setBold(True)
@ -53,15 +49,14 @@ class Ui_DownloadWidget(object):
self.cache_used.setText("cache_used") self.cache_used.setText("cache_used")
self.cache_used.setObjectName("cache_used") self.cache_used.setObjectName("cache_used")
self.active_download_layout.addWidget(self.cache_used, 2, 1, 1, 1) self.active_download_layout.addWidget(self.cache_used, 2, 1, 1, 1)
self.time_left = QtWidgets.QLabel(DownloadWidget) self.dl_speed_label = QtWidgets.QLabel(DownloadWidget)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Maximum) font = QtGui.QFont()
sizePolicy.setHorizontalStretch(0) font.setBold(True)
sizePolicy.setVerticalStretch(0) font.setWeight(75)
sizePolicy.setHeightForWidth(self.time_left.sizePolicy().hasHeightForWidth()) self.dl_speed_label.setFont(font)
self.time_left.setSizePolicy(sizePolicy) self.dl_speed_label.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
self.time_left.setText("time_left") self.dl_speed_label.setObjectName("dl_speed_label")
self.time_left.setObjectName("time_left") self.active_download_layout.addWidget(self.dl_speed_label, 1, 2, 1, 1)
self.active_download_layout.addWidget(self.time_left, 1, 1, 1, 1)
self.downloaded_label = QtWidgets.QLabel(DownloadWidget) self.downloaded_label = QtWidgets.QLabel(DownloadWidget)
font = QtGui.QFont() font = QtGui.QFont()
font.setBold(True) font.setBold(True)
@ -79,27 +74,6 @@ class Ui_DownloadWidget(object):
self.dl_speed.setText("dl_speed") self.dl_speed.setText("dl_speed")
self.dl_speed.setObjectName("dl_speed") self.dl_speed.setObjectName("dl_speed")
self.active_download_layout.addWidget(self.dl_speed, 1, 3, 1, 1) self.active_download_layout.addWidget(self.dl_speed, 1, 3, 1, 1)
self.cache_used_label = QtWidgets.QLabel(DownloadWidget)
font = QtGui.QFont()
font.setBold(True)
font.setWeight(75)
self.cache_used_label.setFont(font)
self.cache_used_label.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
self.cache_used_label.setObjectName("cache_used_label")
self.active_download_layout.addWidget(self.cache_used_label, 2, 0, 1, 1)
self.dl_name = QtWidgets.QLabel(DownloadWidget)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Maximum)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.dl_name.sizePolicy().hasHeightForWidth())
self.dl_name.setSizePolicy(sizePolicy)
font = QtGui.QFont()
font.setBold(False)
font.setWeight(50)
self.dl_name.setFont(font)
self.dl_name.setText("dl_name")
self.dl_name.setObjectName("dl_name")
self.active_download_layout.addWidget(self.dl_name, 0, 1, 1, 3)
self.time_left_label = QtWidgets.QLabel(DownloadWidget) self.time_left_label = QtWidgets.QLabel(DownloadWidget)
font = QtGui.QFont() font = QtGui.QFont()
font.setBold(True) font.setBold(True)
@ -108,23 +82,39 @@ class Ui_DownloadWidget(object):
self.time_left_label.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter) self.time_left_label.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
self.time_left_label.setObjectName("time_left_label") self.time_left_label.setObjectName("time_left_label")
self.active_download_layout.addWidget(self.time_left_label, 1, 0, 1, 1) self.active_download_layout.addWidget(self.time_left_label, 1, 0, 1, 1)
self.kill_button = QtWidgets.QPushButton(DownloadWidget) self.downloaded = QtWidgets.QLabel(DownloadWidget)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
sizePolicy.setHorizontalStretch(0) sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0) sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.kill_button.sizePolicy().hasHeightForWidth()) sizePolicy.setHeightForWidth(self.downloaded.sizePolicy().hasHeightForWidth())
self.kill_button.setSizePolicy(sizePolicy) self.downloaded.setSizePolicy(sizePolicy)
self.kill_button.setObjectName("kill_button") self.downloaded.setText("downloaded")
self.active_download_layout.addWidget(self.kill_button, 3, 4, 1, 1) self.downloaded.setObjectName("downloaded")
self.active_download_layout.addWidget(self.downloaded, 2, 3, 1, 1)
self.time_left = QtWidgets.QLabel(DownloadWidget)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Maximum)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.time_left.sizePolicy().hasHeightForWidth())
self.time_left.setSizePolicy(sizePolicy)
self.time_left.setText("time_left")
self.time_left.setObjectName("time_left")
self.active_download_layout.addWidget(self.time_left, 1, 1, 1, 1)
self.cache_used_label = QtWidgets.QLabel(DownloadWidget)
font = QtGui.QFont()
font.setBold(True)
font.setWeight(75)
self.cache_used_label.setFont(font)
self.cache_used_label.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
self.cache_used_label.setObjectName("cache_used_label")
self.active_download_layout.addWidget(self.cache_used_label, 2, 0, 1, 1)
self.progress_bar = QtWidgets.QProgressBar(DownloadWidget) self.progress_bar = QtWidgets.QProgressBar(DownloadWidget)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Maximum)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.progress_bar.sizePolicy().hasHeightForWidth())
self.progress_bar.setSizePolicy(sizePolicy)
self.progress_bar.setProperty("value", 0) self.progress_bar.setProperty("value", 0)
self.progress_bar.setObjectName("progress_bar") self.progress_bar.setObjectName("progress_bar")
self.active_download_layout.addWidget(self.progress_bar, 3, 0, 1, 4) self.active_download_layout.addWidget(self.progress_bar, 3, 0, 1, 4)
self.kill_button = QtWidgets.QPushButton(DownloadWidget)
self.kill_button.setObjectName("kill_button")
self.active_download_layout.addWidget(self.kill_button, 3, 4, 1, 1)
self.active_download_layout.setColumnStretch(1, 1) self.active_download_layout.setColumnStretch(1, 1)
self.active_download_layout.setColumnStretch(3, 1) self.active_download_layout.setColumnStretch(3, 1)
@ -132,11 +122,11 @@ class Ui_DownloadWidget(object):
def retranslateUi(self, DownloadWidget): def retranslateUi(self, DownloadWidget):
_translate = QtCore.QCoreApplication.translate _translate = QtCore.QCoreApplication.translate
self.dl_speed_label.setText(_translate("DownloadWidget", "Download speed:"))
self.dl_name_label.setText(_translate("DownloadWidget", "Current download:")) self.dl_name_label.setText(_translate("DownloadWidget", "Current download:"))
self.dl_speed_label.setText(_translate("DownloadWidget", "Download speed:"))
self.downloaded_label.setText(_translate("DownloadWidget", "Downloaded:")) self.downloaded_label.setText(_translate("DownloadWidget", "Downloaded:"))
self.cache_used_label.setText(_translate("DownloadWidget", "Cache size:"))
self.time_left_label.setText(_translate("DownloadWidget", "Time left:")) self.time_left_label.setText(_translate("DownloadWidget", "Time left:"))
self.cache_used_label.setText(_translate("DownloadWidget", "Cache size:"))
self.kill_button.setText(_translate("DownloadWidget", "Stop Download")) self.kill_button.setText(_translate("DownloadWidget", "Stop Download"))

View file

@ -6,8 +6,8 @@
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>490</width> <width>479</width>
<height>90</height> <height>86</height>
</rect> </rect>
</property> </property>
<property name="windowTitle"> <property name="windowTitle">
@ -26,32 +26,22 @@
<property name="bottomMargin"> <property name="bottomMargin">
<number>0</number> <number>0</number>
</property> </property>
<item row="2" column="3"> <item row="0" column="1" colspan="3">
<widget class="QLabel" name="downloaded"> <widget class="QLabel" name="dl_name">
<property name="sizePolicy"> <property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Preferred"> <sizepolicy hsizetype="Preferred" vsizetype="Maximum">
<horstretch>0</horstretch> <horstretch>0</horstretch>
<verstretch>0</verstretch> <verstretch>0</verstretch>
</sizepolicy> </sizepolicy>
</property> </property>
<property name="text">
<string notr="true">downloaded</string>
</property>
</widget>
</item>
<item row="1" column="2">
<widget class="QLabel" name="dl_speed_label">
<property name="font"> <property name="font">
<font> <font>
<weight>75</weight> <weight>50</weight>
<bold>true</bold> <bold>false</bold>
</font> </font>
</property> </property>
<property name="text"> <property name="text">
<string>Download speed:</string> <string notr="true">dl_name</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property> </property>
</widget> </widget>
</item> </item>
@ -84,16 +74,19 @@
</property> </property>
</widget> </widget>
</item> </item>
<item row="1" column="1"> <item row="1" column="2">
<widget class="QLabel" name="time_left"> <widget class="QLabel" name="dl_speed_label">
<property name="sizePolicy"> <property name="font">
<sizepolicy hsizetype="Preferred" vsizetype="Maximum"> <font>
<horstretch>0</horstretch> <weight>75</weight>
<verstretch>0</verstretch> <bold>true</bold>
</sizepolicy> </font>
</property> </property>
<property name="text"> <property name="text">
<string notr="true">time_left</string> <string>Download speed:</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property> </property>
</widget> </widget>
</item> </item>
@ -126,41 +119,6 @@
</property> </property>
</widget> </widget>
</item> </item>
<item row="2" column="0">
<widget class="QLabel" name="cache_used_label">
<property name="font">
<font>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="text">
<string>Cache size:</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
</item>
<item row="0" column="1" colspan="3">
<widget class="QLabel" name="dl_name">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Maximum">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="font">
<font>
<weight>50</weight>
<bold>false</bold>
</font>
</property>
<property name="text">
<string notr="true">dl_name</string>
</property>
</widget>
</item>
<item row="1" column="0"> <item row="1" column="0">
<widget class="QLabel" name="time_left_label"> <widget class="QLabel" name="time_left_label">
<property name="font"> <property name="font">
@ -177,32 +135,62 @@
</property> </property>
</widget> </widget>
</item> </item>
<item row="3" column="4"> <item row="2" column="3">
<widget class="QPushButton" name="kill_button"> <widget class="QLabel" name="downloaded">
<property name="sizePolicy"> <property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Fixed"> <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
<horstretch>0</horstretch> <horstretch>0</horstretch>
<verstretch>0</verstretch> <verstretch>0</verstretch>
</sizepolicy> </sizepolicy>
</property> </property>
<property name="text"> <property name="text">
<string>Stop Download</string> <string notr="true">downloaded</string>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QLabel" name="time_left">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Maximum">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string notr="true">time_left</string>
</property>
</widget>
</item>
<item row="2" column="0">
<widget class="QLabel" name="cache_used_label">
<property name="font">
<font>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="text">
<string>Cache size:</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property> </property>
</widget> </widget>
</item> </item>
<item row="3" column="0" colspan="4"> <item row="3" column="0" colspan="4">
<widget class="QProgressBar" name="progress_bar"> <widget class="QProgressBar" name="progress_bar">
<property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Maximum">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="value"> <property name="value">
<number>0</number> <number>0</number>
</property> </property>
</widget> </widget>
</item> </item>
<item row="3" column="4">
<widget class="QPushButton" name="kill_button">
<property name="text">
<string>Stop Download</string>
</property>
</widget>
</item>
</layout> </layout>
</widget> </widget>
<resources/> <resources/>

View file

@ -25,7 +25,7 @@ class Ui_LegendarySettings(object):
self.install_dir_group.setObjectName("install_dir_group") self.install_dir_group.setObjectName("install_dir_group")
self.install_dir_layout = QtWidgets.QVBoxLayout(self.install_dir_group) self.install_dir_layout = QtWidgets.QVBoxLayout(self.install_dir_group)
self.install_dir_layout.setObjectName("install_dir_layout") self.install_dir_layout.setObjectName("install_dir_layout")
self.left_layout.addWidget(self.install_dir_group, 0, QtCore.Qt.AlignTop) self.left_layout.addWidget(self.install_dir_group)
self.download_group = QtWidgets.QGroupBox(LegendarySettings) self.download_group = QtWidgets.QGroupBox(LegendarySettings)
self.download_group.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignTop) self.download_group.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignTop)
self.download_group.setObjectName("download_group") self.download_group.setObjectName("download_group")
@ -97,7 +97,7 @@ class Ui_LegendarySettings(object):
self.disable_https_check.setText("") self.disable_https_check.setText("")
self.disable_https_check.setObjectName("disable_https_check") self.disable_https_check.setObjectName("disable_https_check")
self.download_layout.setWidget(3, QtWidgets.QFormLayout.FieldRole, self.disable_https_check) self.download_layout.setWidget(3, QtWidgets.QFormLayout.FieldRole, self.disable_https_check)
self.left_layout.addWidget(self.download_group, 0, QtCore.Qt.AlignTop) self.left_layout.addWidget(self.download_group)
spacerItem = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding) spacerItem = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
self.left_layout.addItem(spacerItem) self.left_layout.addItem(spacerItem)
self.legendary_layout.addLayout(self.left_layout) self.legendary_layout.addLayout(self.left_layout)
@ -113,7 +113,7 @@ class Ui_LegendarySettings(object):
self.locale_group.setObjectName("locale_group") self.locale_group.setObjectName("locale_group")
self.locale_layout = QtWidgets.QVBoxLayout(self.locale_group) self.locale_layout = QtWidgets.QVBoxLayout(self.locale_group)
self.locale_layout.setObjectName("locale_layout") self.locale_layout.setObjectName("locale_layout")
self.right_layout.addWidget(self.locale_group, 0, QtCore.Qt.AlignTop) self.right_layout.addWidget(self.locale_group)
self.cleanup_group = QtWidgets.QGroupBox(LegendarySettings) self.cleanup_group = QtWidgets.QGroupBox(LegendarySettings)
self.cleanup_group.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignTop) self.cleanup_group.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignTop)
self.cleanup_group.setObjectName("cleanup_group") self.cleanup_group.setObjectName("cleanup_group")

View file

@ -16,7 +16,7 @@
<layout class="QHBoxLayout" name="legendary_layout"> <layout class="QHBoxLayout" name="legendary_layout">
<item> <item>
<layout class="QVBoxLayout" name="left_layout"> <layout class="QVBoxLayout" name="left_layout">
<item alignment="Qt::AlignTop"> <item>
<widget class="QGroupBox" name="install_dir_group"> <widget class="QGroupBox" name="install_dir_group">
<property name="title"> <property name="title">
<string>Default installation folder</string> <string>Default installation folder</string>
@ -27,7 +27,7 @@
<layout class="QVBoxLayout" name="install_dir_layout"/> <layout class="QVBoxLayout" name="install_dir_layout"/>
</widget> </widget>
</item> </item>
<item alignment="Qt::AlignTop"> <item>
<widget class="QGroupBox" name="download_group"> <widget class="QGroupBox" name="download_group">
<property name="title"> <property name="title">
<string>Download settings</string> <string>Download settings</string>
@ -183,7 +183,7 @@
</item> </item>
<item> <item>
<layout class="QVBoxLayout" name="right_layout"> <layout class="QVBoxLayout" name="right_layout">
<item alignment="Qt::AlignTop"> <item>
<widget class="QGroupBox" name="locale_group"> <widget class="QGroupBox" name="locale_group">
<property name="sizePolicy"> <property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Preferred"> <sizepolicy hsizetype="Preferred" vsizetype="Preferred">