photon icon indicating copy to clipboard operation
photon copied to clipboard

Need the panes to be resizable

Open bibhas2 opened this issue 10 years ago • 5 comments

We need the panes to be resizable using some kind a splitter. I tried using jQuery Splitter without much luck.

bibhas2 avatar Feb 21 '16 15:02 bibhas2

@connors @bibhas2 Would something like this work? This would allow pane resizing, deeply nested panes/pane-groups, and vertical pane-groups (thus solving #92 as well). Wrote it in pure JavaScript so no jQuery needed. Let me know and I'll create a PR.

resize

psunnn avatar Feb 29 '16 11:02 psunnn

That looks very good and will meet the needs. A few points:

  • The cursor needs to change when the mouse moves over the splitter.
  • The splitter seems too thin to me. I do realize that in Mac OS X a splitter is also very thin. Hopefully the thickness can be easily customized.
  • Hopefully the HTML markup for this will be as minimalistic and easy to use as the rest of the Photonkit components.

Please keep up the good work. So far this is the best toolkit out there for desktop development.

bibhas2 avatar Feb 29 '16 14:02 bibhas2

Thanks for the feedback - I'll definitely take your thoughts into consideration. The HTML markup itself will be pretty much the same with the exception of vertical pane groups and won't break anything you've already built :)

psunnn avatar Mar 02 '16 11:03 psunnn

Really nice! Unfortunately wasn't able to make this work

screen shot 2017-05-09 at 11 47 32

vasyl-shumskyi avatar May 09 '17 08:05 vasyl-shumskyi

Look at https://github.com/MauriceConrad/PhotonKit-Components

There is a solution that changes the cursor and still works out of the box without initializing

ElyaConrad avatar May 09 '17 09:05 ElyaConrad