mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-08 19:04:15 +02:00
[ui] improving the screenshots control buttons widths
This commit is contained in:
@@ -61,6 +61,7 @@ class ScreenshotsDialog(QDialog):
|
|||||||
|
|
||||||
self.bt_back = QPushButton(' < ' + self.i18n['screenshots.bt_back.label'].capitalize())
|
self.bt_back = QPushButton(' < ' + self.i18n['screenshots.bt_back.label'].capitalize())
|
||||||
self.bt_back.setObjectName('back')
|
self.bt_back.setObjectName('back')
|
||||||
|
self.bt_back.setProperty('control', 'true')
|
||||||
self.bt_back.setCursor(QCursor(Qt.PointingHandCursor))
|
self.bt_back.setCursor(QCursor(Qt.PointingHandCursor))
|
||||||
self.bt_back.clicked.connect(self.back)
|
self.bt_back.clicked.connect(self.back)
|
||||||
self.container_buttons.layout().addWidget(self.bt_back)
|
self.container_buttons.layout().addWidget(self.bt_back)
|
||||||
@@ -71,6 +72,7 @@ class ScreenshotsDialog(QDialog):
|
|||||||
|
|
||||||
self.bt_next = QPushButton(self.i18n['screenshots.bt_next.label'].capitalize() + ' > ')
|
self.bt_next = QPushButton(self.i18n['screenshots.bt_next.label'].capitalize() + ' > ')
|
||||||
self.bt_next.setObjectName('next')
|
self.bt_next.setObjectName('next')
|
||||||
|
self.bt_next.setProperty('control', 'true')
|
||||||
self.bt_next.setCursor(QCursor(Qt.PointingHandCursor))
|
self.bt_next.setCursor(QCursor(Qt.PointingHandCursor))
|
||||||
self.bt_next.clicked.connect(self.next)
|
self.bt_next.clicked.connect(self.next)
|
||||||
self.container_buttons.layout().addWidget(self.bt_next)
|
self.container_buttons.layout().addWidget(self.bt_next)
|
||||||
|
|||||||
@@ -359,6 +359,10 @@ ScreenshotsDialog QLabel#image {
|
|||||||
qproperty-alignment: AlignCenter;
|
qproperty-alignment: AlignCenter;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
ScreenshotsDialog QAbstractButton[control = "true"] {
|
||||||
|
min-width: 100px;
|
||||||
|
}
|
||||||
|
|
||||||
SettingsWindow TabGroupQt#settings {
|
SettingsWindow TabGroupQt#settings {
|
||||||
min-width: 400px;
|
min-width: 400px;
|
||||||
}
|
}
|
||||||
@@ -366,3 +370,4 @@ SettingsWindow TabGroupQt#settings {
|
|||||||
QMenu QPushButton[current = "true"] {
|
QMenu QPushButton[current = "true"] {
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user