Splitter of component

gui

#1

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:


#2

Hi,

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

HTH


#3

Well thank you very much :slight_smile:


#4

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


#5

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.