From 33f116bb751ccb656d5281036ffb5b5ccefc0887 Mon Sep 17 00:00:00 2001 From: pushfoo <36696816+pushfoo@users.noreply.github.com> Date: Tue, 23 Jul 2024 23:57:09 -0400 Subject: [PATCH 1/2] Fix cut off 'widget' text --- arcade/examples/gui_widgets.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arcade/examples/gui_widgets.py b/arcade/examples/gui_widgets.py index 93eed91afd..9240b5182e 100644 --- a/arcade/examples/gui_widgets.py +++ b/arcade/examples/gui_widgets.py @@ -27,7 +27,7 @@ def __init__(self): # Create a text label ui_text_label = arcade.gui.widgets.text.UITextArea( text="This is a Text Widget", - width=450, + width=600, height=40, font_size=24, font_name="Kenney Future", From 579587c498f9fddbd147a3405fef4207a40e14fa Mon Sep 17 00:00:00 2001 From: pushfoo <36696816+pushfoo@users.noreply.github.com> Date: Tue, 23 Jul 2024 23:57:56 -0400 Subject: [PATCH 2/2] Fix typo in comment --- arcade/examples/gui_widgets.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arcade/examples/gui_widgets.py b/arcade/examples/gui_widgets.py index 9240b5182e..b064bd7376 100644 --- a/arcade/examples/gui_widgets.py +++ b/arcade/examples/gui_widgets.py @@ -10,7 +10,7 @@ import arcade.gui.widgets.layout import arcade.gui.widgets.text -# Load fonts bumbled with arcade such as the Kenney fonts +# Load fonts bundled with arcade such as the Kenney fonts arcade.resources.load_system_fonts()