From aa0d98cdc774a2b70691185d2ea14599e1a3639e Mon Sep 17 00:00:00 2001 From: Ari Roffe Date: Thu, 15 Feb 2024 08:50:42 -0600 Subject: [PATCH] Update 02_controlling-layout.md (#7434) --- guides/03_building-with-blocks/02_controlling-layout.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/guides/03_building-with-blocks/02_controlling-layout.md b/guides/03_building-with-blocks/02_controlling-layout.md index d508be9313..4f3e63aa33 100644 --- a/guides/03_building-with-blocks/02_controlling-layout.md +++ b/guides/03_building-with-blocks/02_controlling-layout.md @@ -24,7 +24,7 @@ with gr.Blocks() as demo: The widths of elements in a Row can be controlled via a combination of `scale` and `min_width` arguments that are present in every Component. -- `scale` is an integer that defines how an element will take up space in a Row. If scale is set to `0`, the element will not expand to take up space. If scale is set to `1` or greater, the element will expand. Multiple elements in a row will expand proportional to their scale. Below, `btn1` will expand twice as much as `btn2`, while `btn0` will not expand at all: +- `scale` is an integer that defines how an element will take up space in a Row. If scale is set to `0`, the element will not expand to take up space. If scale is set to `1` or greater, the element will expand. Multiple elements in a row will expand proportional to their scale. Below, `btn2` will expand twice as much as `btn1`, while `btn0` will not expand at all: ```python with gr.Blocks() as demo: