Forbidden change position of ChildWindow
« on: 06 September 2018, 17:44:03 »
Hi
I'm added ChildWindow at other GUI-elements, and i want to forbidden change position for him. Can i "freeze" his?
Who's lost this text here?

*

texus

  • *****
  • 1254
    • View Profile
    • Texus's Blog
Re: Forbidden change position of ChildWindow
« Reply #1 on: 06 September 2018, 19:06:33 »
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).
childWindow->setPositionLocked(true);

Re: Forbidden change position of ChildWindow
« Reply #2 on: 07 September 2018, 14:38:08 »
...but I have implemented that now
Thank, you awesome!
Who's lost this text here?