Исправлен нижний отступ для обновленного вида карточки кандидата.
4 месяца назад
Файлов изменено: 3
+15–1
bf67828
design/py/candidate_card.py
+2–0
@@ -47,6 +47,8 @@ | ||
self.verticalLayout.setContentsMargins(0, 0, 0, 0) | ||
self.frame = QFrame(candidate_card) | ||
self.frame.setObjectName(u"frame") | ||
self.frame.setMinimumSize(QSize(0, 101)) | ||
self.frame.setMaximumSize(QSize(16777215, 101)) | ||
self.frame.setCursor(QCursor(Qt.CursorShape.PointingHandCursor)) | ||
self.frame.setStyleSheet(u"QLabel {\n" | ||
" background-color: transparent;\n" |
design/ui/candidate_card.ui
+12–0
@@ -63,6 +63,18 @@ | ||
</property> | ||
<item> | ||
<widget class="QFrame" name="frame"> | ||
<property name="minimumSize"> | ||
<size> | ||
<width>0</width> | ||
<height>101</height> | ||
</size> | ||
</property> | ||
<property name="maximumSize"> | ||
<size> | ||
<width>16777215</width> | ||
<height>101</height> | ||
</size> | ||
</property> | ||
<property name="cursor"> | ||
<cursorShape>PointingHandCursor</cursorShape> | ||
</property> |
windows/widget_add.py
+1–1
@@ -10,5 +10,5 @@ | ||
super().__init__() | ||
self.ui = Ui_candidate_card() | ||
self.ui.setupUi(self) | ||
# self.setContentsMargins(0, 0, 0, 0.3) | ||
self.setContentsMargins(0, 0, 0, 5) | ||
No newline at end of file |
Cherry-pick
Команда cherry-pick позволяет выбрать отдельные коммиты из одной ветки и применить их к другой.