PyGitIssue2Todoist icon indicating copy to clipboard operation
PyGitIssue2Todoist copied to clipboard

Put in same size hack that is in Pyut

Open hasii2011 opened this issue 10 months ago • 0 comments

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}')


hasii2011 avatar Feb 09 '25 13:02 hasii2011