Black bars aspect ratio or what it is? need help please watch video

As you can see in the video I made my own buttons and widgets and what not and they even scale for the X and the Y depending of the resolution, well at least they vary it’s position.

How ever sometimes when resolution of the game is changed it all goes crazy and 2 black bars appears on the upper and down parts of the game viewport game mode I wonder.

How to get rid of those black bars, aka aspect ratio?
How to get the aspect ratio game has?
How would I calculate aspect ratio and recalculate the positions of my buttons widgets? Help please.

What command are you running to change the resolution and fullscreen/window? What happens if you use these console commands?
setres 1920x1080f
setres 1280x720f
setres 1280x720w

I will try soon thanks

Ok I’ve tried the commands so far good until I tried ser res 640x360F it made the bars appear… Also is there any way to get if the game is in Fullscreen or Windowed? Like code or something? Thanks :+1: :pray:

Not sure about you are talking, but it is a matinee animation?

I used matinee time ago and when the screen resolution is not 16:9, it adds a black bars up and down. I have no idea if this is configurable.

YOu can see in the video you see the black bars, yes it is during matinee : P