Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

zombiesurvival distorts the display of text in the ULX voting menu #229

Open
comminux opened this issue Jan 7, 2022 · 3 comments
Open

Comments

@comminux
Copy link

comminux commented Jan 7, 2022

Steps to reproduce

  1. Download last git version of https://github.com/TeamUlysses/ulib and https://github.com/TeamUlysses/ulx
  2. Open vote menu settings in ULX
  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

310793a
ULib v2.70d (05/12/2018)
ULX v3.73d (05/21/2018)
TeamUlysses/ulx@371a4fb

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

@arthurgeron
Copy link

It could mean some font settings are applying to the vote menu, or not, but it looks like a ULX issue rather than a z's issue, have you opened a issue with them?

@comminux
Copy link
Author

comminux commented Jan 9, 2022

Yes, I also opened the issue in ULX repo.

TeamUlysses/ulx#197

@JetBoom
Copy link
Owner

JetBoom commented Sep 5, 2023

I will revive this with this bit of code


Previously I hard coded this because the bottom and top text aligns kept getting swapped between gmod updates like 3-4 times total. It’s stable now but the values are not what they’re supposed to be and the lines should be removed. ZS however currently is coded to rely on those wrong values so a plethora of other locations would gave to be updated to use the correct text align constant.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants