Skip to content

Commit

Permalink
Fix small GUI example and doc issues (#2307)
Browse files Browse the repository at this point in the history
* Fix cut off 'widget' text

* Fix typo in comment
  • Loading branch information
pushfoo authored Jul 24, 2024
1 parent 9bd6747 commit 0a84125
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions arcade/examples/gui_widgets.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()


Expand All @@ -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",
Expand Down

0 comments on commit 0a84125

Please sign in to comment.