TeamUlysses / ulx

ULX: A powerful administration addon for Garry's Mod
https://ulyssesmod.net
Other
163 stars 73 forks source link

The text labels in the voting window look compressed in zombiesurvival gamemode #197

Closed comminux closed 4 months ago

comminux commented 2 years ago

Steps to reproduce

  1. Download last git version of https://github.com/JetBoom/zombiesurvival
  2. Open vote menu settings
  3. Increase the number of voting options
  4. Press "ulx vote" button

Expected behavior

The voting parameters must have a non-zero vertical margin, similar to how it works in other gamemodes.

Actual behavior

The voting parameters are compressed as if there are no margins

Error(s) in server console, if any

None

Error(s) in player's console, if any

None

Version

ULib v2.70d (05/12/2018) ULX v3.73d (05/21/2018) https://github.com/TeamUlysses/ulx/commit/371a4fba6248e4f06df4cd30f96c59622752eaed

Attached images: Sandbox Vote Menu Sandbox Vote Result ZS Vote Menu ZS Vote Result

zpetty33 commented 4 months ago

ZombieSurvival gamemode overrides some gmod global variables related to VGUI text placement (super hacky and will break a lot of non ZS stuff). When ULX calls this variable to use it in the voting menu, it displays wrong because ZS had overwritten it, it seems. This is a ZS issue and can't be fixed in ULX.