Forbidden change position of ChildWindow

Started by avraal, 06 September 2018, 17:44:03

avraal

Hi
I'm added ChildWindow at other GUI-elements, and i want to forbidden change position for him. Can i "freeze" his?

texus

It wasn't possible to freeze the child window position, but I have implemented that now. If you download the latest version from github and build the library yourself then you can use the new setPositionLocked function (it will prevent the user from dragging the window, you can still call setPosition afterwards).
Code (cpp) Select
childWindow->setPositionLocked(true);

avraal