Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Setting a min width breaks the window.

A topic by marcyluvy created 58 days ago Views: 66 Replies: 3
Viewing posts 1 to 2

https://cdn.discordapp.com/attachments/1329990443165028437/1403481062926974986/2...

The window initially appears normal, until moved/resized. It then becomes infinitely long, stretching across other monitors. Eventually, it breaks and throws the error "[winwin_resize_buffer] ResizeBuffers failed, hr=0x80070057" before closing.

This only seems to happen when I set a min width, and max width doesn't "break" it but it doesn't actually limit the window size, either.

I sent the project to a friend, and this happened to her too so I know it isn't happening because of the skin I have on my desktop.

Developer (1 edit)

If you set the whole set of these (min/max width, min/max height), does this still happen? Looking back at the code, I’m not reading the default min/max dimensions if there are no user-provided ones.

Tried, and it still happens. Also, when I did this, it also had the window stretch infinitely down as well so it does it for the height and width. The infinite stretch only happens when I set minimums. If I only set maximums, it doesn't stretch infinitely but it still won't properly limit size. It seems to TRY to stop me from expanding the window, i grab it and then it will let me grow it by the max amount, then it will stop. Then, if I click and drag again, I will let me grow it again by the max size, stop again, etc. 

https://cdn.discordapp.com/attachments/1329990443165028437/1403523282937970770/2...

Developer

Released 1.0.7 with a fix for this, should be fine now.