# HG changeset patch # User lbessard # Date 1208331731 -7200 # Node ID 85d721b33574b7dd43f4df08f53e71bed9010288 # Parent 4768050433b809f88b1673dac091469b5e8902da SFC_Divergence SetSize limited SFC_Transition drawing fixed diff -r 4768050433b8 -r 85d721b33574 graphics/SFC_Objects.py --- 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: