PyGitIssue2Todoist
PyGitIssue2Todoist copied to clipboard
Put in same size hack that is in Pyut
The frame height keeps growing on every save. Put in the same hack that Pyut has to prevent the saved height from growing
HACK_ADJUST_EXIT_HEIGHT: int = 16
ourSize: Tuple[int, int] = self.GetSize()
# I need to check this on a larger monitor;
self._prefs.startupSize = Dimensions(ourSize[0], ourSize[1] - HACK_ADJUST_EXIT_HEIGHT)
self.logger.info(f'Set new startup size: {ourSize}')