-
Notifications
You must be signed in to change notification settings - Fork 18.8k
Open
Labels
NeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
Description
it seems there is no way to programmatically change a screen.Window size.
currently, a screen.Window size can only be changed from outside the program (e.g. using the mouse).
I'd propose to extend screen.Window as such:
type Window interface {
// ...
// Resize resizes the window.
Resize(size image.Point)
// Size returns the size of the window.
Size() image.Point
}Metadata
Metadata
Assignees
Labels
NeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.