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

Pane resizing and nested/vertical pane groups (fixes #91 and #92) #95

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Pane resizing and nested/vertical pane groups (fixes #91 and #92) #95

wants to merge 1 commit into from

Conversation

psunnn
Copy link

@psunnn psunnn commented Mar 4, 2016

resize

In resize.js, the buildPaneTree() method loops through the DOM recursively and gets all the pane and pane-groups. During this process, splitter elements are created and appended between panes and the resizer() method is attached to each splitter onmousedown. resizer() takes the initial cursor position and sets the flex-basis of its neighboring panes based on the distance moved.

Additionally, pane-groups can be nested in one another (<div class="pane pane-group">) and a new class, .pane-group-vertical, is used to stack panes vertically.

None of these changes will affect anything that has already been built :)

In resize.js, the buildPaneTree() method loops through the DOM
recursively and gets all the pane and pane-groups. During this process,
splitter elements are created and appended between panes and the
resizer() method is attached to each splitter onmousedown. The
resizer() method takes the initial cursor position and sets the
flex-basis of its neighboring panes based on the distance moved.

Additionally, pane-groups can be nested in one another (`<div
class="pane pane-group">`) and a new class, `.pane-group-vertical`, is
used to stack panes vertically.

None of these changes will affect anything that has already been built.
@trufae
Copy link

trufae commented Apr 23, 2017

Please merge this!

@trufae
Copy link

trufae commented Apr 25, 2017

so this project seems dead :( who's up for forking and updating and merging all the pending PRs?

@ExNG
Copy link

ExNG commented Jul 2, 2018

I dont know if thats what you are asking for but forked photonkit as Antimatter (See: https://github.com/ExNG/antimatter) and would like to have resizeable panes

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

Successfully merging this pull request may close these issues.

3 participants