lock to just one side

Hi,

I’m trying to implement resizeable section in my UI. I’m able to do it vertically (got some flickering but it’s not that bad) with moving a rectangle (as an handle) and ajusting the size of controls “on the fly”.

I want to be able to do so horizontally but I have to lock my “handle” only on one side (left or right, not on the top or the bottom of the window). Is there a way to do this?

Thank you

Finally got it… After trying every possibilities I manage to make it behave like I want…