Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
柴进
/
GoogleNanoBananaApp
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
683c07f9
authored
2025-12-18 17:46:03 +0800
by
shady
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
增加mac版本的界面的元素辨识度
1 parent
2fef6a45
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
image_generator.py
image_generator.py
View file @
683c07f
...
...
@@ -1371,6 +1371,7 @@ class ImageGeneratorWindow(QMainWindow):
# Reference images section
ref_group
=
QGroupBox
(
"参考图片"
)
ref_layout
=
QVBoxLayout
()
ref_layout
.
setContentsMargins
(
5
,
2
,
5
,
5
)
# 减少上边距
# Upload button and count
upload_header
=
QHBoxLayout
()
...
...
@@ -1690,8 +1691,8 @@ class ImageGeneratorWindow(QMainWindow):
font-size: 10pt;
border: 1px solid #e5e5e5;
border-radius: 6px;
margin-top:
10
px;
padding-top:
10
px;
margin-top:
2
px;
padding-top:
2
px;
}
QGroupBox::title {
subcontrol-origin: margin;
...
...
@@ -1977,7 +1978,7 @@ class ImageGeneratorWindow(QMainWindow):
# Info row
info_layout
=
QHBoxLayout
()
index_label
=
QLabel
(
f
"图 {idx + 1}"
)
index_label
.
setStyleSheet
(
"QLabel { font-size:
8pt; color: #666666
; }"
)
index_label
.
setStyleSheet
(
"QLabel { font-size:
12pt; color: #666666; font-weight: bold
; }"
)
info_layout
.
addWidget
(
index_label
)
del_btn
=
QPushButton
(
"✕"
)
...
...
Please
register
or
sign in
to post a comment