Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ability to change window size programmatically #1044

Open
nmsmith opened this issue Jun 19, 2020 · 1 comment
Open

Ability to change window size programmatically #1044

nmsmith opened this issue Jun 19, 2020 · 1 comment
Labels
enhancement adds or requests a new feature S-blocked waits for another PR or dependency

Comments

@nmsmith
Copy link

nmsmith commented Jun 19, 2020

We should be able to change the size of a window programmatically, after it is created. This is useful if the window size is intended to correlate with the size of its current content, or if the window is not fully resizable but can instead be toggled between a developer-defined set of sizes (e.g. for pixel-art games).

@cmyr cmyr added enhancement adds or requests a new feature S-blocked waits for another PR or dependency labels Jun 24, 2020
@cmyr
Copy link
Member

cmyr commented Jun 24, 2020

It feels to me that doing this 'correctly' requires us to be able to set the frame of the window, that is both its position and its size. Doing this should also require us to query the active displays, so that we can check how much space is available; this would tie in to #1037.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement adds or requests a new feature S-blocked waits for another PR or dependency
Projects
None yet
Development

No branches or pull requests

2 participants