--- a/graphics/SFC_Objects.py Thu Apr 10 19:25:24 2008 +0200
+++ b/graphics/SFC_Objects.py Wed Apr 16 09:42:11 2008 +0200
@@ -821,7 +821,7 @@
self.Size[0] + 1,
SFC_TRANSITION_SIZE[1] + 1)
vertical_line_x = self.Input.GetPosition()[0]
- dc.DrawLine(vertical_line_x, self.Pos.y, vertical_line_x, self.Pos.y + self.Size[1])
+ dc.DrawLine(vertical_line_x, self.Pos.y, vertical_line_x, self.Pos.y + self.Size[1] + 1)
# Draw transition condition
if self.Type != "connection":
text_width, text_height = self.ConditionSize
@@ -1054,6 +1054,7 @@
# Changes the divergence size
def SetSize(self, width, height):
+ height = self.GetMinSize()[1]
for i, input in enumerate(self.Inputs):
position = input.GetRelPosition()
if self.RealConnectors: