From 9eb5a17df7e6d3552ef2320be03dbe8448a02db2 Mon Sep 17 00:00:00 2001 From: Darren Burns Date: Thu, 25 Aug 2022 17:16:44 +0100 Subject: [PATCH] Update sandbox example to use text-justify CSS property --- sandbox/darren/text_justify.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/sandbox/darren/text_justify.py b/sandbox/darren/text_justify.py index aa3419631..e76c4ab0e 100644 --- a/sandbox/darren/text_justify.py +++ b/sandbox/darren/text_justify.py @@ -36,8 +36,4 @@ class TextJustify(App): app = TextJustify(css_path="text_justify.scss", watch_css=True) if __name__ == "__main__": - from rich.console import Console - - console = Console() - text = Text(TEXT) - console.print(TEXT, justify="full") + app.run()