src/eric7/Plugins/VcsPlugins/vcsGit/GitLogBrowserDialog.py

branch
eric7
changeset 10458
2074b8393649
parent 10439
21c28b0f9e41
child 10690
fab36645aa7d
equal deleted inserted replaced
10457:4bef44d7a378 10458:2074b8393649
590 def col2x(col, radius): 590 def col2x(col, radius):
591 """ 591 """
592 Local function to calculate a x-position for a column. 592 Local function to calculate a x-position for a column.
593 593
594 @param col column number 594 @param col column number
595 @type int 595 @type int
596 @param radius radius of the indicator circle 596 @param radius radius of the indicator circle
597 @type int 597 @type int
598 """ 598 """
599 return int(1.2 * radius) * col + radius // 2 + 3 599 return int(1.2 * radius) * col + radius // 2 + 3
600 600
601 radius = self.__dotRadius 601 radius = self.__dotRadius
602 w = len(bottomedges) * radius + 20 602 w = len(bottomedges) * radius + 20

eric ide

mercurial