controls/DebugVariablePanel/DebugVariableGraphicViewer.py
changeset 1757 0de89da92ee0
parent 1750 acf02488f37f
child 1764 d5df428640ff
equal deleted inserted replaced
1756:08e4394ff4fb 1757:0de89da92ee0
   436 
   436 
   437         # If buttons are shown at left side or upper side of rect, positions
   437         # If buttons are shown at left side or upper side of rect, positions
   438         # will be set in reverse order
   438         # will be set in reverse order
   439         buttons = self.ContextualButtons[:]
   439         buttons = self.ContextualButtons[:]
   440         if direction in [wx.TOP, wx.LEFT]:
   440         if direction in [wx.TOP, wx.LEFT]:
   441              buttons.reverse()
   441             buttons.reverse()
   442 
   442 
   443         # Set contextual menu buttons position aside rect depending on
   443         # Set contextual menu buttons position aside rect depending on
   444         # direction given
   444         # direction given
   445         offset = 0
   445         offset = 0
   446         for button in buttons:
   446         for button in buttons: