mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-01-18 10:26:29 +01:00
Updated title alignment
This commit is contained in:
parent
8d78930472
commit
68c1fff43d
1 changed files with 1 additions and 1 deletions
|
@ -51,7 +51,7 @@ class Ascii(Configs):
|
||||||
|
|
||||||
def draw_package_title_box(self, message: str, title: str) -> None:
|
def draw_package_title_box(self, message: str, title: str) -> None:
|
||||||
""" Drawing package title box. """
|
""" 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) +
|
print(f'{self.bgreen}{self.upper_left_corner}' + f'{self.horizontal_line}' * (self.columns - 2) +
|
||||||
f'{self.upper_right_corner}')
|
f'{self.upper_right_corner}')
|
||||||
|
|
Loading…
Reference in a new issue