增加mac版本的界面的元素辨识度
Showing
1 changed file
with
4 additions
and
3 deletions
| ... | @@ -1371,6 +1371,7 @@ class ImageGeneratorWindow(QMainWindow): | ... | @@ -1371,6 +1371,7 @@ class ImageGeneratorWindow(QMainWindow): |
| 1371 | # Reference images section | 1371 | # Reference images section |
| 1372 | ref_group = QGroupBox("参考图片") | 1372 | ref_group = QGroupBox("参考图片") |
| 1373 | ref_layout = QVBoxLayout() | 1373 | ref_layout = QVBoxLayout() |
| 1374 | ref_layout.setContentsMargins(5, 2, 5, 5) # 减少上边距 | ||
| 1374 | 1375 | ||
| 1375 | # Upload button and count | 1376 | # Upload button and count |
| 1376 | upload_header = QHBoxLayout() | 1377 | upload_header = QHBoxLayout() |
| ... | @@ -1690,8 +1691,8 @@ class ImageGeneratorWindow(QMainWindow): | ... | @@ -1690,8 +1691,8 @@ class ImageGeneratorWindow(QMainWindow): |
| 1690 | font-size: 10pt; | 1691 | font-size: 10pt; |
| 1691 | border: 1px solid #e5e5e5; | 1692 | border: 1px solid #e5e5e5; |
| 1692 | border-radius: 6px; | 1693 | border-radius: 6px; |
| 1693 | margin-top: 10px; | 1694 | margin-top: 2px; |
| 1694 | padding-top: 10px; | 1695 | padding-top: 2px; |
| 1695 | } | 1696 | } |
| 1696 | QGroupBox::title { | 1697 | QGroupBox::title { |
| 1697 | subcontrol-origin: margin; | 1698 | subcontrol-origin: margin; |
| ... | @@ -1977,7 +1978,7 @@ class ImageGeneratorWindow(QMainWindow): | ... | @@ -1977,7 +1978,7 @@ class ImageGeneratorWindow(QMainWindow): |
| 1977 | # Info row | 1978 | # Info row |
| 1978 | info_layout = QHBoxLayout() | 1979 | info_layout = QHBoxLayout() |
| 1979 | index_label = QLabel(f"图 {idx + 1}") | 1980 | index_label = QLabel(f"图 {idx + 1}") |
| 1980 | index_label.setStyleSheet("QLabel { font-size: 8pt; color: #666666; }") | 1981 | index_label.setStyleSheet("QLabel { font-size: 12pt; color: #666666; font-weight: bold; }") |
| 1981 | info_layout.addWidget(index_label) | 1982 | info_layout.addWidget(index_label) |
| 1982 | 1983 | ||
| 1983 | del_btn = QPushButton("✕") | 1984 | del_btn = QPushButton("✕") | ... | ... |
-
Please register or sign in to post a comment