projects
/
iramuteq
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
scrolling !
[iramuteq]
/
layout.py
diff --git
a/layout.py
b/layout.py
index
69bc2d9
..
3b7024a
100644
(file)
--- a/
layout.py
+++ b/
layout.py
@@
-274,7
+274,10
@@
class GraphPanel(wx.ScrolledWindow):
self.__do_layout()
def __set_properties(self):
self.__do_layout()
def __set_properties(self):
+ self.EnableScrolling(True,True)
self.SetScrollRate(20, 20)
self.SetScrollRate(20, 20)
+ self.SetFocus()
+
def __do_layout(self):
self.sizer_1 = wx.BoxSizer(wx.VERTICAL)
def __do_layout(self):
self.sizer_1 = wx.BoxSizer(wx.VERTICAL)
@@
-660,6
+663,7
@@
class GraphPanelDendro(wx.Panel):
self.panel_1.EnableScrolling(True,True)
#self.panel_1.SetSize((1000,1000))
self.panel_1.SetScrollRate(20, 20)
self.panel_1.EnableScrolling(True,True)
#self.panel_1.SetSize((1000,1000))
self.panel_1.SetScrollRate(20, 20)
+ self.panel_1.SetFocus()
self.Bind(wx.EVT_BUTTON, self.ondendro, self.butdendro)
self.param = {'width' : 700,
'height': 500,
self.Bind(wx.EVT_BUTTON, self.ondendro, self.butdendro)
self.param = {'width' : 700,
'height': 500,
@@
-1173,6
+1177,7
@@
class GraphPanelSimi(wx.Panel):
self.panel_1.EnableScrolling(True,True)
#self.panel_1.SetSize((1000,1000))
self.panel_1.SetScrollRate(20, 20)
self.panel_1.EnableScrolling(True,True)
#self.panel_1.SetSize((1000,1000))
self.panel_1.SetScrollRate(20, 20)
+ self.panel_1.SetFocus()
def __do_layout(self):
self.sizer_1 = wx.BoxSizer(wx.HORIZONTAL)
def __do_layout(self):
self.sizer_1 = wx.BoxSizer(wx.HORIZONTAL)