Skip to content

Put in same size hack that is in Pyut #56

@hasii2011

Description

@hasii2011

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions