diff --git a/domdiv/draw.py b/domdiv/draw.py index 791c29b..7f7f1de 100644 --- a/domdiv/draw.py +++ b/domdiv/draw.py @@ -1105,7 +1105,8 @@ class DividerDrawer(object): NotRightEdge = not NotRightEdge if NotRightEdge: 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 else: w = textInset