Readd scrolling to se if that fixes error with disapearing scrolling

main
Micke Nordin 4 years ago
parent 167cd75f6f
commit bafe072f1c

@ -64,6 +64,7 @@ class PassUi(wx.Frame):
event, index), event, index),
btn) btn)
index = index + 1 index = index + 1
self.pnl.SetupScrolling()
self.sizer.Layout() self.sizer.Layout()
def add_push_pull(self): def add_push_pull(self):
@ -137,6 +138,7 @@ class PassUi(wx.Frame):
self.Bind(wx.EVT_BUTTON, self.Bind(wx.EVT_BUTTON,
lambda event, index = index: self.show_password(event, index), lambda event, index = index: self.show_password(event, index),
sbtn) sbtn)
self.pnl.SetupScrolling()
self.sizer.Layout() self.sizer.Layout()
def show_password(self, event, index): def show_password(self, event, index):
@ -166,6 +168,7 @@ class PassUi(wx.Frame):
self.Bind(wx.EVT_BUTTON, self.Bind(wx.EVT_BUTTON,
lambda event, path=passpath, text = text: save_to_pass(event, path, text), lambda event, path=passpath, text = text: save_to_pass(event, path, text),
sbtn) sbtn)
self.pnl.SetupScrolling()
self.sizer.Layout() self.sizer.Layout()

Loading…
Cancel
Save