Garry's Mod

Garry's Mod

Dark UI Spawnmenu
Can you please change the user text text to another color
This is perfect. Makes my eyes relax. It has this very tiny thing that will make it perfect!
By default the text in the comboboxes is black situated on a dark menu background
https://wiki.facepunch.com/gmod/DComboBox:AddChoice
The text given at the first parameter is using black color and it is very hard to see.

To fix that you can update the color to be the same as numslider's first argument:
https://wiki.facepunch.com/gmod/DForm:NumSlider
This will result in lighter color still dark but way lighter than black and closer to gray-ish.

Please tell me if there is any way I can hemp you with this !
< >
Showing 1-7 of 7 comments
I have ComboBox:UpdateColors(CPanel:GetSkin()) but still no luck

https://steamuserimages-a.akamaihd.net/ugc/1751309629105420945/8FFBDD7272D9BF6E79BF356F1A5634AC27D5F349/

See how "Axis Normal" is drawn with black on a dark background unlike the options to be chosen. The second question in the FAQ does not apply for me as I do not run a custom color:

https://github.com/dvdvideo1234/SpinnerTool/blob/5a8aa3cfad1a1f25f64d33a4f29c72dfc5827340/lua/weapons/gmod_tool/stools/spinner.lua#L241
Last edited by [Sk$Bh]Trick or treat KID!; 6 Mar, 2021 @ 11:18am
♔ AquaRex ♔  [developer] 29 Oct, 2021 @ 2:31pm 
Thank you for providing the input & feedback. I just pushed an update that included a fix to this issue.
Neat ;)
Hey, is this also gonna be possible for ediatable entities menu ?
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2640771485
I am using the stadard colors of: https://wiki.facepunch.com/gmod/Editable_Entities
Last edited by [Sk$Bh]Trick or treat KID!; 30 Oct, 2021 @ 12:41am
♔ AquaRex ♔  [developer] 30 Oct, 2021 @ 3:28am 
The background colors for the cells in the property panel is hard-coded in gmod to be white

https://i.gyazo.com/a9dfead3f250818820bb91e3e5b977bd.png

I added a file that overwrites how the default properties panels are drawn when this skin is active. As I can't adjust the variable "color_white", as many icons including spawnicons use this color.
Last edited by ♔ AquaRex ♔; 30 Oct, 2021 @ 3:29am
https://github.com/Facepunch/garrysmod/blob/be251723824643351cb88a969818425d1ddf42b3/garrysmod/lua/vgui/dproperties.lua

Ah, yes. It is weird how entity X and Y moth use my editable wrapper, but X ( gmod_laser_portal ) has this problem and Y ( gmod_laser ) does not. For some reason the letters and numbers are white for X and gray-ish for Y. Will keep you updated on this. Will try also to do a PR to remove the white hard-coded.

https://github.com/dvdvideo1234/LaserSTool/blob/main/lua/laseremitter/editable_wrapper.lua
Last edited by [Sk$Bh]Trick or treat KID!; 30 Oct, 2021 @ 4:02am
Just registered the issue: https://github.com/Facepunch/garrysmod-issues/issues/5088

Which color do you think is the most proper there ? Whatever you did now works ! ;)

https://user-images.githubusercontent.com/9112662/139539102-312824f0-8c5f-4ccb-8a7a-f81a71da738a.jpg
Last edited by [Sk$Bh]Trick or treat KID!; 30 Oct, 2021 @ 8:20am
< >
Showing 1-7 of 7 comments
Per page: 1530 50