ComponentBoundsConstrainer - where are position constrains methods?


#1

Hello,
I’ve just created ComponentDragger and it works fine, but I can’t find the way how to give it position limits.

There is something about ComponentBoundsConstrainer but in the documentation (https://docs.juce.com/master/classComponentBoundsConstrainer.html) I can’t find anyone method that is concern to position, all of them are for size, like for example setMinimumHeight.

For any help thanks in advance.
Best regards


#2

I guess this one should do the job:
https://docs.juce.com/master/classComponentBoundsConstrainer.html#aff1abf331d36ac67df318f999beccc0a


#3

Read my comment here: