Skip to content

Commit c416d98

Browse files
committed
docs(layout): Use automaticLayout option
1 parent d2e3eb3 commit c416d98

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

example/textmate/app.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ def load_file(lang, file_path):
9393
editor = code.Editor(
9494
style="width: 100%",
9595
value=("editor_content", ""),
96-
options=("editor_options", {}),
96+
options=("editor_options", {"automaticLayout": True}),
9797
language=("editor_lang", "plaintext"),
9898
theme=("editor_theme", "vs-dark"),
9999
textmate=("editor_textmate", None),

0 commit comments

Comments
 (0)