Split view


#1

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?


#2

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.


#3

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.


#4

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


#5

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