Skip to content

Commit

Permalink
Update splitcontainer.py
Browse files Browse the repository at this point in the history
  • Loading branch information
MuhammadMuradG authored Sep 19, 2020
1 parent a717424 commit 64edcc3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/gtk/toga_gtk/widgets/splitcontainer.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@ def add_content(self, position, widget, flex):

if position == 0:
self.native.set_wide_handle(True)
self.native.pack1(widget.native, flex)
self.native.pack1(widget.native, flex, False)
elif position == 1:
self.native.set_wide_handle(True)
self.native.pack2(widget.native, flex)
self.native.pack2(widget.native, flex, False)

def set_app(self, app):
if self.interface.content:
Expand Down

0 comments on commit 64edcc3

Please sign in to comment.