diff options
author | AUTOMATIC <16777216c@gmail.com> | 2023-03-21 05:49:08 +0000 |
---|---|---|
committer | AUTOMATIC <16777216c@gmail.com> | 2023-03-25 06:00:37 +0000 |
commit | af2db25c84c9a226ab34959e868fc18740418b4b (patch) | |
tree | b8d0136e2227a409813fe67d8d33220858445fe6 /modules/ui.py | |
parent | 43a0912a07376fd045095de0fea54de098b113ef (diff) | |
download | stable-diffusion-webui-gfx803-af2db25c84c9a226ab34959e868fc18740418b4b.tar.gz stable-diffusion-webui-gfx803-af2db25c84c9a226ab34959e868fc18740418b4b.tar.bz2 stable-diffusion-webui-gfx803-af2db25c84c9a226ab34959e868fc18740418b4b.zip |
enable queue by default
more stylistic changes
Diffstat (limited to 'modules/ui.py')
-rw-r--r-- | modules/ui.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/ui.py b/modules/ui.py index c5b0e876..9b9bfa8b 100644 --- a/modules/ui.py +++ b/modules/ui.py @@ -478,7 +478,7 @@ def create_ui(): width = gr.Slider(minimum=64, maximum=2048, step=8, label="Width", value=512, elem_id="txt2img_width")
height = gr.Slider(minimum=64, maximum=2048, step=8, label="Height", value=512, elem_id="txt2img_height")
- with gr.Column(elem_id="txt2img_dimensions_row", scale=1):
+ with gr.Column(elem_id="txt2img_dimensions_row", scale=1, elem_classes="dimensions-tools"):
res_switch_btn = ToolButton(value=switch_values_symbol, elem_id="txt2img_res_switch_btn")
if opts.dimensions_and_batch_together:
@@ -758,7 +758,7 @@ def create_ui(): width = gr.Slider(minimum=64, maximum=2048, step=8, label="Width", value=512, elem_id="img2img_width")
height = gr.Slider(minimum=64, maximum=2048, step=8, label="Height", value=512, elem_id="img2img_height")
- with gr.Column(elem_id="img2img_dimensions_row", scale=1):
+ with gr.Column(elem_id="img2img_dimensions_row", scale=1, elem_classes="dimensions-tools"):
res_switch_btn = ToolButton(value=switch_values_symbol, elem_id="img2img_res_switch_btn")
if opts.dimensions_and_batch_together:
|