Merge pull request #7031 from EllangoK/master

Fixes various button overflowing UI and compact checkbox
This commit is contained in:
AUTOMATIC1111
2023-01-23 15:22:06 +03:00
committed by GitHub
3 changed files with 11 additions and 3 deletions

View File

@@ -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")