Split view


Does any functionality exist in Juce, where I can split a view and have a moveable split bar in the middle? Or is that something I’d have to implement manually?


Perhaps have a look at the Viewport class, you can put a copy of the split component in it and put the copy below/above, scrollbars are there too.


the Viewport class doesn’t say anything about a split view. I thought the Viewport class handles scrolling for larger views, no?
I basically want to have two different views (components) that are seperated by a moveable split bar.


Have a look in the juce demo, at how the fonts page does it…


cool. That’s what I was looking for. Thanks