Skip to content

Commit

Permalink
Merge pull request #562 from MyreMylar/text-box-container
Browse files Browse the repository at this point in the history
add anchors to text box scroll bar
  • Loading branch information
MyreMylar authored Apr 7, 2024
2 parents eef2a97 + e61dfc3 commit 2016a79
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pygame_gui/elements/ui_text_box.py
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,8 @@ def rebuild(self):
self.ui_manager,
self.ui_container,
parent_element=self,
visible=self.visible)
visible=self.visible,
anchors=self.anchors)
self.join_focus_sets(self.scroll_bar)
else:
# we don't need a scroll bar, make sure our text box is aligned to the top
Expand Down

0 comments on commit 2016a79

Please sign in to comment.