TShelby

Title

Nov 27th, 2018
397
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.56 KB | None | 0 0
  1. FILE : uiToolTip.py
  2.  
  3.  
  4.  
  5.  
  6.  
  7. ### 01. Search definition:
  8.  
  9. def AutoAppendTextLine(self, text, color = FONT_COLOR, centerAlign = True):
  10.                         ....
  11.  
  12. ### 01. Add after:
  13.  
  14.     def SetThinBoardSize(self, width, height = 12) :
  15.         self.toolTipWidth = width
  16.         self.toolTipHeight = height
  17.  
  18.  
  19. ### 02. Search definition:
  20.  
  21.     def AppendSpace(self, size):
  22.         self.toolTipHeight += size
  23.         self.ResizeToolTip()
  24.  
  25. ### 02. Add after:
  26.  
  27.     def SetThinBoardSize(self, width, height = 12) :
  28.         self.toolTipWidth = width
  29.         self.toolTipHeight = height
  30.  
  31.  
  32. ### (For both classes) ###
Advertisement
Add Comment
Please, Sign In to add comment