Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
S
stable-diffusion-webui
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
stable-diffusion-webui
Commits
66335309
Unverified
Commit
66335309
authored
Jan 23, 2023
by
AUTOMATIC1111
Committed by
GitHub
Jan 23, 2023
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #7031 from EllangoK/master
Fixes various button overflowing UI and compact checkbox
parents
74608300
5560150f
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
3 deletions
+11
-3
ui.py
modules/ui.py
+1
-1
xy_grid.py
scripts/xy_grid.py
+1
-1
style.css
style.css
+9
-1
No files found.
modules/ui.py
View file @
66335309
...
...
@@ -742,7 +742,7 @@ def create_ui():
seed
,
reuse_seed
,
subseed
,
reuse_subseed
,
subseed_strength
,
seed_resize_from_h
,
seed_resize_from_w
,
seed_checkbox
=
create_seed_inputs
(
'img2img'
)
elif
category
==
"checkboxes"
:
with
FormRow
(
elem_id
=
"img2img_checkboxes"
):
with
FormRow
(
elem_id
=
"img2img_checkboxes"
,
variant
=
"compact"
):
restore_faces
=
gr
.
Checkbox
(
label
=
'Restore faces'
,
value
=
False
,
visible
=
len
(
shared
.
face_restorers
)
>
1
,
elem_id
=
"img2img_restore_faces"
)
tiling
=
gr
.
Checkbox
(
label
=
'Tiling'
,
value
=
False
,
elem_id
=
"img2img_tiling"
)
...
...
scripts/xy_grid.py
View file @
66335309
...
...
@@ -307,7 +307,7 @@ class Script(scripts.Script):
y_values
=
gr
.
Textbox
(
label
=
"Y values"
,
lines
=
1
,
elem_id
=
self
.
elem_id
(
"y_values"
))
fill_y_button
=
ToolButton
(
value
=
fill_values_symbol
,
elem_id
=
"xy_grid_fill_y_tool_button"
,
visible
=
False
)
with
gr
.
Row
(
variant
=
"compact"
):
with
gr
.
Row
(
variant
=
"compact"
,
elem_id
=
"axis_options"
):
draw_legend
=
gr
.
Checkbox
(
label
=
'Draw legend'
,
value
=
True
,
elem_id
=
self
.
elem_id
(
"draw_legend"
))
include_lone_images
=
gr
.
Checkbox
(
label
=
'Include Separate Images'
,
value
=
False
,
elem_id
=
self
.
elem_id
(
"include_lone_images"
))
no_fixed_seeds
=
gr
.
Checkbox
(
label
=
'Keep -1 for seeds'
,
value
=
False
,
elem_id
=
self
.
elem_id
(
"no_fixed_seeds"
))
...
...
style.css
View file @
66335309
...
...
@@ -589,7 +589,7 @@ canvas[key="mask"] {
/* Extensions */
#tab_extensions
table
``
{
#tab_extensions
table
{
border-collapse
:
collapse
;
}
...
...
@@ -718,6 +718,14 @@ footer {
margin-left
:
-0.8em
;
}
#img2img_copy_to_img2img
,
#img2img_copy_to_sketch
,
#img2img_copy_to_inpaint
,
#img2img_copy_to_inpaint_sketch
{
margin-left
:
0em
;
}
#axis_options
{
margin-left
:
0em
;
}
.inactive
{
opacity
:
0.5
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment