Updated title alignment

This commit is contained in:
Dimitris Zlatanidis 2023-03-30 23:45:07 +03:00
parent 8d78930472
commit 68c1fff43d

View file

@ -51,7 +51,7 @@ class Ascii(Configs):
def draw_package_title_box(self, message: str, title: str) -> None:
""" Drawing package title box. """
middle_title: int = int((self.columns / 2) - len(title) + 6)
middle_title: int = int((self.columns / 2) - len(title) + 10)
print(f'{self.bgreen}{self.upper_left_corner}' + f'{self.horizontal_line}' * (self.columns - 2) +
f'{self.upper_right_corner}')