Skip to content

Commit

Permalink
add anchors to text box scroll bar
Browse files Browse the repository at this point in the history
  • Loading branch information
MyreMylar committed Apr 7, 2024
1 parent ffd548d commit e61dfc3
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 e61dfc3

Please sign in to comment.