Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Cascade or side-by-side windows

    In a MDI-like application, is there any easy way to cascade or put windows side-by-syde into a container (VLayout)?

    If not, I think that would be a great improvement, the container could have some functions to change position and size of it's components according to the desired format. That would avoid programmers to control these settings by hand everytime they need.

    Thanks,
    Matheus

    #2
    Well side-by-side would be the default behavior in an HLayout. Cascading would be fairly easy, loop through the windows, call bringToFront(), first one at 0,0, next at 0 + offsetX, 0 + offsetY, repeat multiplying the offset each time.

    Comment

    Working...
    X