1
0
Fork 0
mirror of synced 2024-05-24 14:29:58 +12:00

QueueBaseWidget: fix button positioning

This commit is contained in:
loathingKernel 2024-02-25 15:36:00 +02:00
parent 1c578e354e
commit c1b92c3ae5
No known key found for this signature in database
GPG key ID: CE0C72D0B53821FD
2 changed files with 10 additions and 10 deletions

View file

@ -2,7 +2,7 @@
# Form implementation generated from reading ui file 'rare/ui/components/tabs/downloads/queue_base_widget.ui' # Form implementation generated from reading ui file 'rare/ui/components/tabs/downloads/queue_base_widget.ui'
# #
# Created by: PyQt5 UI code generator 5.15.9 # 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,7 +14,7 @@ from PyQt5 import QtCore, QtGui, QtWidgets
class Ui_QueueBaseWidget(object): class Ui_QueueBaseWidget(object):
def setupUi(self, QueueBaseWidget): def setupUi(self, QueueBaseWidget):
QueueBaseWidget.setObjectName("QueueBaseWidget") QueueBaseWidget.setObjectName("QueueBaseWidget")
QueueBaseWidget.resize(354, 72) QueueBaseWidget.resize(380, 62)
QueueBaseWidget.setWindowTitle("QueueBaseWidget") QueueBaseWidget.setWindowTitle("QueueBaseWidget")
QueueBaseWidget.setFrameShape(QtWidgets.QFrame.StyledPanel) QueueBaseWidget.setFrameShape(QtWidgets.QFrame.StyledPanel)
self.queue_base_layout = QtWidgets.QHBoxLayout(QueueBaseWidget) self.queue_base_layout = QtWidgets.QHBoxLayout(QueueBaseWidget)
@ -59,7 +59,7 @@ class Ui_QueueBaseWidget(object):
self.queue_buttons_layout.addWidget(self.force_button) self.queue_buttons_layout.addWidget(self.force_button)
self.remove_button = QtWidgets.QPushButton(self.queue_buttons) self.remove_button = QtWidgets.QPushButton(self.queue_buttons)
self.remove_button.setObjectName("remove_button") self.remove_button.setObjectName("remove_button")
self.queue_buttons_layout.addWidget(self.remove_button, 0, QtCore.Qt.AlignTop) self.queue_buttons_layout.addWidget(self.remove_button, 0, QtCore.Qt.AlignBottom)
self.queue_base_layout.addWidget(self.queue_buttons) self.queue_base_layout.addWidget(self.queue_buttons)
self.update_buttons = QtWidgets.QWidget(QueueBaseWidget) self.update_buttons = QtWidgets.QWidget(QueueBaseWidget)
self.update_buttons.setObjectName("update_buttons") self.update_buttons.setObjectName("update_buttons")
@ -68,10 +68,10 @@ class Ui_QueueBaseWidget(object):
self.update_buttons_layout.setObjectName("update_buttons_layout") self.update_buttons_layout.setObjectName("update_buttons_layout")
self.update_button = QtWidgets.QPushButton(self.update_buttons) self.update_button = QtWidgets.QPushButton(self.update_buttons)
self.update_button.setObjectName("update_button") self.update_button.setObjectName("update_button")
self.update_buttons_layout.addWidget(self.update_button, 0, QtCore.Qt.AlignTop) self.update_buttons_layout.addWidget(self.update_button)
self.settings_button = QtWidgets.QPushButton(self.update_buttons) self.settings_button = QtWidgets.QPushButton(self.update_buttons)
self.settings_button.setObjectName("settings_button") self.settings_button.setObjectName("settings_button")
self.update_buttons_layout.addWidget(self.settings_button, 0, QtCore.Qt.AlignTop) self.update_buttons_layout.addWidget(self.settings_button, 0, QtCore.Qt.AlignBottom)
self.queue_base_layout.addWidget(self.update_buttons) self.queue_base_layout.addWidget(self.update_buttons)
self.queue_base_layout.setStretch(0, 1) self.queue_base_layout.setStretch(0, 1)

View file

@ -6,8 +6,8 @@
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>354</width> <width>380</width>
<height>72</height> <height>62</height>
</rect> </rect>
</property> </property>
<property name="windowTitle"> <property name="windowTitle">
@ -104,7 +104,7 @@
</property> </property>
</widget> </widget>
</item> </item>
<item alignment="Qt::AlignTop"> <item alignment="Qt::AlignBottom">
<widget class="QPushButton" name="remove_button"> <widget class="QPushButton" name="remove_button">
<property name="text"> <property name="text">
<string>Remove from queue</string> <string>Remove from queue</string>
@ -129,14 +129,14 @@
<property name="bottomMargin"> <property name="bottomMargin">
<number>0</number> <number>0</number>
</property> </property>
<item alignment="Qt::AlignTop"> <item>
<widget class="QPushButton" name="update_button"> <widget class="QPushButton" name="update_button">
<property name="text"> <property name="text">
<string>Update game</string> <string>Update game</string>
</property> </property>
</widget> </widget>
</item> </item>
<item alignment="Qt::AlignTop"> <item alignment="Qt::AlignBottom">
<widget class="QPushButton" name="settings_button"> <widget class="QPushButton" name="settings_button">
<property name="text"> <property name="text">
<string>Update with settings</string> <string>Update with settings</string>