Making dynamic windows

Hello Everyone.
I am looking to make my game full screen, yet when I expand it I have two black bars on the side(windowed mode). I would like the game to expand or shrink based on player's computer width. How would I achieve this? Any help is appreciated. I am currently using RPG Maker MV.
There are many threads discussing this, if you do a Google for some of the terms.

The black bars are because the dimensions of your game window aren't the same aspect ratio as the monitor you're using.

If you change your game window dimensions (such as with the Community plugin or Yanfly's Core), you won't see black bars.

I don't know if there's a way to stop the window from going wider than some defined size - that's what maximize does, by definition in Windows.
The black bars come from the game not being in a 16:9 ratio by default. If you use a plugin like yanflys core engine, you can change that:
1730741499636.png

The game runs in a window anyway, the game will change it's "size" according to how big the window is automatically.
The black bars come from the game not being in a 16:9 ratio by default. If you use a plugin like yanflys core engine, you can change that:
View attachment 322161
The game runs in a window anyway, the game will change it's "size" according to how big the window is automatically.
That's good to know. Thank you 🙂

Original thread: https://forums.rpgmakerweb.com/threads/making-dynamic-windows.173033/