Make a DialogWindow not-movable




I'm struggling trying to make a DialogWindow non-movable. The setResizable() function only prevent from resizing. Does anyone know how to do it ?




Good request - I guess that for mobile development it's a common thing to do.

You can actually do it now by using a custom ComponentBoundsConstrainer with a checkBounds method which always centres the rectangle.

I will add an item to our to-do-list to create a new method ResizableWindow::setDraggable, which would make it much easier. Not sure when we'll have time to add that, though.