parent
271ab73dc7
commit
1b11c94c43
@ -1105,7 +1105,8 @@ class DividerDrawer(object):
|
|||||||
NotRightEdge = not NotRightEdge
|
NotRightEdge = not NotRightEdge
|
||||||
if NotRightEdge:
|
if NotRightEdge:
|
||||||
if (self.options.tab_name_align == "centre" or self.wantCentreTab(card)
|
if (self.options.tab_name_align == "centre" or self.wantCentreTab(card)
|
||||||
or (item.getClosestSide(backside=backside) == CardPlot.CENTRE)):
|
or (item.getClosestSide(backside=backside) == CardPlot.CENTRE
|
||||||
|
and self.options.tab_name_align == "edge")):
|
||||||
w = item.tabWidth / 2 - self.nameWidth(line, fontSize) / 2
|
w = item.tabWidth / 2 - self.nameWidth(line, fontSize) / 2
|
||||||
else:
|
else:
|
||||||
w = textInset
|
w = textInset
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user