made wrapped widget expand properly

This commit is contained in:
2022-07-27 12:32:38 +02:00
parent 73a91485cc
commit e501eb8d33
+1 -1
View File
@@ -30,7 +30,7 @@ def make_labeled(cls):
self.widget = widget = cls(parent, *args, **kwargs)
self.Add(label, flag=wx.EXPAND)
self.Add(widget, flag=wx.EXPAND)
self.Add(widget, flag=wx.EXPAND, proportion=1)
def __getattr__(self, name):