[ui] improving the screenshots control buttons widths

This commit is contained in:
Vinicius Moreira
2020-11-27 18:42:01 -03:00
parent f5e94866ef
commit 453e7daeba
2 changed files with 8 additions and 1 deletions

View File

@@ -61,6 +61,7 @@ class ScreenshotsDialog(QDialog):
self.bt_back = QPushButton(' < ' + self.i18n['screenshots.bt_back.label'].capitalize())
self.bt_back.setObjectName('back')
self.bt_back.setProperty('control', 'true')
self.bt_back.setCursor(QCursor(Qt.PointingHandCursor))
self.bt_back.clicked.connect(self.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.setObjectName('next')
self.bt_next.setProperty('control', 'true')
self.bt_next.setCursor(QCursor(Qt.PointingHandCursor))
self.bt_next.clicked.connect(self.next)
self.container_buttons.layout().addWidget(self.bt_next)

View File

@@ -359,10 +359,15 @@ ScreenshotsDialog QLabel#image {
qproperty-alignment: AlignCenter;
}
ScreenshotsDialog QAbstractButton[control = "true"] {
min-width: 100px;
}
SettingsWindow TabGroupQt#settings {
min-width: 400px;
}
QMenu QPushButton[current = "true"] {
font-weight: bold;
}
}