Garry's Mod

Garry's Mod

507 ratings
GUI Scaler (Fix Small Spawnmenu)
8
4
2
2
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Tool
Addon Tags: Fun
File Size
Posted
Updated
27.005 KB
7 Jun @ 5:33pm
14 Jul @ 10:56am
14 Change Notes ( view )

Subscribe to download
GUI Scaler (Fix Small Spawnmenu)

Description
Scale Gmod's GUI to your liking with ease!
Should work on every resolution! (including 4:3!)



guiscaler_scale_multiplier
- Scales the GUI, default is 1.
You can configure the GUI Scale and more in Spawnmenu>Options>GUI Scaler>Configure


By default, the mod scales the GUI (all vgui elements) to be what it would look like at 1920x1080 resolution. The console command above is completely optional if that is how you like it.

TL;DR: if you have bigger than 1920x1080 then text wont be small

Do you have issues with GUI Scaling? Use this command:
guiscaler_only_spawnmenu - If set to 1, the scaling will only affect the spawnmenu. If set to 2, the context menu and spawnmenu will both be affected. Otherwise if set to 0, all gui elements will be scaled. (Default is 1)

Other commands:

guiscaler_update - Force rescales the GUI.
guiscaler_reset - Tries to reset the GUI elements to original dimensions.
All other commands are under guiscaler_



DISCLAIMER:
There are some small side effects to the scaling, such as: Slightly higher spacing between spawn icons (everything but prop spawnicons), and blue selection highlights not fully covering the text.

Reasoning for these things varies, but if you have a solution please report it in the bug report section!

Want to scale the main menu and the console? see here:
Since the mod can only edit vgui elements and not HTML or internal code, you will have to do a little more manual work to get those things the scale you want.

For the console you have to change the console font in garrysmod/resource/SourceScheme.res

find the line "ConsoleText" and change the values next to "tall". there is two "tall" parameters but just change both for quick purposes. (idk where the font is for the console command text that you type in)




For the main menu open the html file in garrysmod/html/menu.html in a *text editor* (important)

At the very top under the first <head> paste the following:

<style type='text/css'>html {zoom:1.25;}</style>

The 1.25 in {zoom:1.25;} is the zoom value, tweak to your liking.




REPORT BUGS TO THE BUG REPORTS DISCUSSION!
Popular Discussions View All (2)
37
30 Jun @ 11:10am
PINNED: BUG REPORTS
Wontairr
1
13 Jun @ 10:49am
scale resets on context menu every time its opened up
cranky igloo golf
101 Comments
Wontairr  [author] 11 Jul @ 6:12pm 
I just pushed a new update that should help alot with performance. If you have any bugs, please report!
Wontairr  [author] 8 Jul @ 5:20am 
im sorry that happens, can you confirm it's this that causes the fps drops? this shouldn't happen.
RiceIsNice 8 Jul @ 2:19am 
eats half of my fucking fps
SupFede 5 Jul @ 3:49am 
LESGOOOOOOOOOOOOOOOOOOOOOOOO:steamthumbsup:
!!PleaseCleanMyteeth!! 30 Jun @ 11:20am 
Must have for every 4k gamer!! Thanks, son! Garry won't fix it, so it's up to modders again.
xyyyw9505 30 Jun @ 12:05am 
This Mod will soon became a must-have for every player. I've been waiting for such Mod over years!
THANK YOU SO MUCH YOU SAVED MY EYES ! ! !
Wontairr  [author] 29 Jun @ 1:36pm 
@Gamer idk, might be an html if you look for it. could also be internal.
Kluska 29 Jun @ 1:15pm 
I FUCKING LOVE YOU
Gamer 29 Jun @ 12:15pm 
Just curious, how do I scale the "Loading..." message when you boot the game? I know it's not really important, but I would just like to scale it if it's possible.
Wontairr  [author] 21 Jun @ 6:07am 
select them all then right click then resize