Garry's Mod

Garry's Mod

560 ratings
GUI Scaler (Fix Small Spawnmenu)
9
4
2
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)
41
27 Jul @ 10:11am
PINNED: BUG REPORTS
Wontairr
1
13 Jun @ 10:49am
scale resets on context menu every time its opened up
cranky igloo golf
110 Comments
Wontairr  [author] 2 Sep @ 4:24pm 
you can put whatever looks best, there isn't really any standard value.
Below_Mediocre 2 Sep @ 10:26am 
Do you know what I would put next to the Tall values for 4k? In SourceScheme.res that is
Qpry 16 Aug @ 9:00pm 
I love you
Autumn Witch 13 Aug @ 4:51pm 
Thank you for this mod, it helped me a lot. Take award:dealerrizz:
JUAnW 6 Aug @ 10:22pm 
dudde just saved my eyes!!!!!!!!!!!!!!!!!!!!!!! love u
CocoaRaptor 4 Aug @ 8:31am 
is there a way to just change the icon scale? like for the spawn menu, for me both the text and icons are really small but when I bring the text scale up to a fitting size it makes the icons huge
我喜欢你🥰
Chen 26 Jul @ 7:48pm 
thx
Pughausen 24 Jul @ 8:33pm 
I HAVE NEEDED THIS FOR YEARS.
YOU ARE A G.O.A.T. FOR MAKING THIS.
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!