Font Size and Bar Spacing Fixes - tdk1069/EleUI2 GitHub Wiki

UI Script Fix Instructions

🔧 Fixing Font Size

  1. Open your profile in the client.
  2. Go to Tools > Script Editor.
  3. On the left panel, expand:
    scripts > EleUI2 > UI
  4. Click on Vitals to open the script.
  5. In the editor window, find this line (usually line 4):
    local _, padding = calcFontSize(12)
    
  6. Add a new line directly underneath it with this:
    local padding = 15
    

🧱 Fixing Bar Spacing

  1. Open your profile in the client.
  2. Go to Tools > Script Editor.
  3. On the left panel, expand:
    scripts > EleUI2 > UI
  4. Click on onLoad to open the script.

Now make the following changes:

🔹 Update the mpbar line (usually around line 108):

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

🔹 Update the spbar line (usually around line 128):

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

🔹 Update the Class line (usually around line 79):

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: