Splitter of component

Hello,

I’m new to JUCE and I’m wondering how can I make a “Splitter” panel that will contain a custom made component, like the one below.

image

Thanks in advance :slight_smile:

Hi,

there is the StretchableLayoutResizerBar. You find an example use case in the ImageDemo in the examples folder:

HTH

Well thank you very much :slight_smile:

Hello,

I’m also thinking about implementing a dockable window like in photoshop or visual studio, is there a default component that behaves like that or I should implement my own solution ?

Thanks

you could use the DocumentWindow class, and just snap the x/y position of the window to a certain point when the user drags it to a certain part of the screen.