Garry's Mod

Garry's Mod

465 ratings
GUI Scaler (Fix Small Spawnmenu)
8
2
3
2
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Tool
Addon Tags: Fun
File Size
Posted
Updated
25.836 KB
7 Jun @ 5:33pm
13 Jun @ 1:58pm
11 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)
31
13 Jun @ 4:18pm
PINNED: BUG REPORTS
Wontairr
1
13 Jun @ 10:49am
scale resets on context menu every time its opened up
cranky igloo golf
90 Comments
Mayor Qwert 22 hours ago 
Fingers crossed someone finds a fix for the console text input, but I can live with it haha
Mayor Qwert 22 hours ago 
Amazing mod, just trying to get back into gmod after close to 10 yrs and forgot how small the text was (that or my eyes are getting old lol)

Surprised this hasn't been fixed sooner
Bot Soldier 18 Jun @ 11:01am 
I have really small screen and sometimes searching for toolgun stuff is a bit eye tiring especially when I don't remember where exactly was the thing im looking this already by just increasing value to 1.2 makes huge difference without breaking the UI thank you man
✠ DFSpecter 17 Jun @ 8:33am 
I'm unironically going to need this mod in roughly 5-10 years.

Remember folks, your eyes are important, so take care of them!
Wontairr  [author] 16 Jun @ 2:07pm 
based crt
soapie 16 Jun @ 12:00pm 
it does work with 4:3!! just has weird text cutting but its fine
i asked because my flat panel monitor died and im currently using my crt monitor i had a secondary display.. alot of stuff doesnt support 4:3 nowadays unsurprisingly
Blimby 14 Jun @ 5:49pm 
I LOVE YOU SO MUCH THANK YOU!!!
Wontairr  [author] 14 Jun @ 4:32pm 
it can scale to however big or small as you want it to; so yes.
Morality 14 Jun @ 4:17pm 
Question, but for those who SOMEHOW can barely run the game smoothly because of shitty specs, does it work at 1280x720p Resolution? Like can it maybe make the GUI smaller or bigger properly?
Wontairr  [author] 14 Jun @ 2:29pm 
try it out I actually don't know