Font Size and Bar Spacing Fixes - tdk1069/EleUI2 GitHub Wiki
UI Script Fix Instructions
🔧 Fixing Font Size
- Open your profile in the client.
- Go to Tools > Script Editor.
- On the left panel, expand:
scripts > EleUI2 > UI
- Click on
Vitals
to open the script. - In the editor window, find this line (usually line 4):
local _, padding = calcFontSize(12)
- Add a new line directly underneath it with this:
local padding = 15
🧱 Fixing Bar Spacing
- Open your profile in the client.
- Go to Tools > Script Editor.
- On the left panel, expand:
scripts > EleUI2 > UI
- Click on
onLoad
to open the script.
Now make the following changes:
mpbar
line (usually around line 108):
🔹 Update the Find:
{name = "mpbar", x = "0%", y = padding*1.1, width = "100%", height = padding}, statsBox
Replace with:
{name = "mpbar", x = "0%", y = (padding*1.1)+2, width = "100%", height = padding}, statsBox
spbar
line (usually around line 128):
🔹 Update the Find:
{name = "spbar", x = "0%", y = padding*2.2, width = "100%", height = padding}, statsBox
Replace with:
{name = "spbar", x = "0%", y = (padding*2.2)+2, width = "100%", height = padding}, statsBox
Class
line (usually around line 79):
🔹 Update the Find:
{name = "Details", color = "black", x = 0, y = padding*3.3, width = "100%", height = padding*2}, statsBox
Replace with:
{name = "Details", color = "black", x = 0, y = (padding*3.3)+2, width = "100%", height = padding*2}, statsBox
Result: