Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

[Impeller] Autoresize playground imgui windows #37033

Merged
merged 1 commit into from
Oct 26, 2022

Conversation

bdero
Copy link
Member

@bdero bdero commented Oct 26, 2022

Sets a default window position for all playgrounds. Gets rid of a silly hack to size an ImGui window that I did many moons ago and ended up getting copied dozens of times.

ImGui does a pretty good job with the autoresizing calculation, so somewhere along the line I started to have the windows size themselves.

@bdero bdero self-assigned this Oct 26, 2022
@chinmaygarde
Copy link
Member

Isn't there a docking variant of ImGUI? We could use that to make these control layouts more consistent across more window sizes. Totally low priority though.

@bdero
Copy link
Member Author

bdero commented Oct 26, 2022

Yeah, when I first landed ImGui I tried to use the docking branch, but unfortunately it required a later version of GLFW at the time, and for some reason I was unable to update GLFW. It's probably about time I give it another try.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
No open projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants