Fixed size alignment

This commit is contained in:
Dimitris Zlatanidis 2023-04-05 20:50:04 +03:00
parent 43b926c972
commit 8e6e13c37b

View file

@ -67,7 +67,7 @@ class Ascii(Configs):
self.draw_middle_line()
print(f'{self.bgreen}{self.vertical_line}{self.endc} Package:' + ' ' * 22 + 'Version:' +
' ' * (self.columns - 65) + 'Size:' + ' ' * 13 + f'Repo:{self.bgreen} {self.vertical_line}{self.endc}')
' ' * (self.columns - 66) + 'Size:' + ' ' * 14 + f'Repo:{self.bgreen} {self.vertical_line}{self.endc}')
def draw_view_package(self, package: str, version: str, size: str, color: str, repo: str) -> None:
""" Draw nad print the packages. """