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

Add the ability to resize CreatePanel and Outline/Inspector panels #23

Open
thachmai opened this issue Oct 16, 2015 · 1 comment
Open

Comments

@thachmai
Copy link
Contributor

Current these panels take a fixed amount of space which limits the available real estate for the canvas.

If there is a way to resize these panels (by drag and drop a vertical bar?), it would make app much more fun in "play" mode.

I should be able to contribute a patch if the feature is approved.

@electronicwhisper
Copy link
Collaborator

Yes, this would be great!

Design-wise, resizing the right hand side bar should have no problems. It will scale very nicely. The left hand bar needs some design work, e.g. issue #20, but this is a separate problem.

For the implementation, I think the state (that is, the sizes of the bars) should be stored in Model/Editor. For consistency, please use the DragManager mechanism for handling the drag operation. Here is an example of it being used.

Happy to discuss further if you have questions.

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants