Godot Version
4.4
Question
Currently working on uploading stuff to itch to show some people, and previously the game would always run in full screen expanding to take up the whole thing. I was messing around in the settings and it seems to have broken things and after reading through the docs I was able to get the UI to scale consistently but I don’t know how the viewport can be set to full screen. Also, for some reason it isn’t capturing my mouse anymore which I found odd.
Game in itch:
Relevant settings:
I’m confident there is some easy way to fix this but I can’t wrap my head around it. Thank you so much for your time!
i’m having the same issue. It seems to me that the canvas size is not set appropriately.
I have mine set to 1280x800, but once exported that size is not respected. This is reproducible by just running the game in the browser, straight from Godot 4.4 stable (not ONLY the itch version).

Here is an image of the resulting index.html. You can see my width and height, as well as the style which seems to be overwriting it (and i’m not sure how that style tag was set)
Wow I’m stupid. After looking over it while someone else was nearby, I noticed that it currently has “Resize” disabled by me for some reason. Happy I figured it out!
And that worked for you? I’ve had it checked and my issue still persists.
I was a little too eager and jumped the gun on the post. I fixed a different issue not this one. Currently looking for ways to fix it still 
Found it! When you export it, go down to “Canvas Resize Policy” and change it to “Adaptive.” That fixed my issue.
1 Like
hey thanks! That has sorta worked for me! The canvas is the right size now at least, but … now i’ve got black bars on all sides even though the viewport width and height is set to the size of the canvas in the project settings.
Most be another setting I’ve got to find.
My issue seems to be because i’m using the integer scale mode. What confuses me is that I’ve got my “window size” to 1280x800, but the canvas ends up being smaller (something like 1024x640). I’m just not sure where that number is coming from.
If i change the scale mode to fractional, I see what is more expected.