Get window size

  • #20, z afrlmeSunday, 31. January 2016, 20:13 hodinky 9 years ago
    Technically it's possible to change window mode & window resolution during runtime. It's a bit buggy though at the minute.

    Imperátor

    7285 Posts


  • #21, z sebastianSunday, 31. January 2016, 21:05 hodinky 9 years ago
    I did it get working to change between fullscreen and window (resized) via checkboxes without restart. Problem seems to be Resolutions which are "special". Sometimes after returning to fullscreen it gets messed up and only a restart solves it.

    Kapitán

    2346 Posts

  • #22, z afrlmeSunday, 31. January 2016, 21:40 hodinky 9 years ago
    Yeah, that's the buggy bit I was referring to. If you simply toggle between window & fullscreen modes without adjusting the window resolution then it shouldn't mess up when switching back to fullscreen mode. For some reason it messes up the surface area scaling when you manually update the window resolution. Hopefully David will sort it out in a future build.

    Imperátor

    7285 Posts

  • #23, z sebastianSunday, 31. January 2016, 22:07 hodinky 9 years ago
    im curious if it would correct that bug if we set the window size back to screen monitor resolution before returning to fullscreen...

    Kapitán

    2346 Posts

  • #24, z sebastianSaturday, 25. March 2017, 15:44 hodinky 8 years ago
    digging out this old post grin

    regarding to the update news from 4.2 ithere should be a proprty "resolution" :


    'resolution' zu Lua Befehl getProperty hinzugefügt.

    in 4.2.5 thats not the case... Hope to see this fixed in VS5

    Kapitán

    2346 Posts