projects
/
PoPiPaint.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
91bd01a
)
Fix setting the view size
author
Antonio Ospite <ao2@ao2.it>
Fri, 3 Oct 2014 10:06:29 +0000
(12:06 +0200)
committer
Antonio Ospite <ao2@ao2.it>
Fri, 3 Oct 2014 10:59:36 +0000
(12:59 +0200)
SetInitialSize() also sets the min size which is needed because the view
is added to a sizer.
CanvasView.py
patch
|
blob
|
history
diff --git
a/CanvasView.py
b/CanvasView.py
index
28a7d0d
..
a33ee8d
100755
(executable)
--- a/
CanvasView.py
+++ b/
CanvasView.py
@@
-67,7
+67,7
@@
class CanvasView(wx.Window):
self.offset_angle = -pi/2.
- self.SetSize((w, h))
+ self.Set
Initial
Size((w, h))
self.SetFocus()