Skip to content

Commit

Permalink
More GTK testbed fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
HalfWhitt committed Dec 9, 2024
1 parent a919c45 commit 7edbccd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion gtk/src/toga_gtk/window.py
Original file line number Diff line number Diff line change
Expand Up @@ -387,6 +387,6 @@ def create_toolbar(self):
self.native_toolbar,
expand=False,
fill=False,
margin=0,
padding=0,
)
self.native_toolbar.show_all()
4 changes: 2 additions & 2 deletions gtk/tests_backend/widgets/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ def assert_not_contained(self):
assert self.widget._impl.container is None
assert self.native.get_parent() is None

def assert_align_items(self, expected):
assert self.align_items == expected
def assert_text_alignment(self, expected):
assert self.text_alignment == expected

def repaint_needed(self):
return self.impl.container.needs_redraw or super().repaint_needed()
Expand Down

0 comments on commit 7edbccd

Please sign in to comment.