Thread Tools Display Modes
Yesterday, 09:34 AM   #1
Sp00sty
Join Date: Apr 2014
Posts: 69
[Request] [Manual Edit] XML code to change the Size/Height of Experience Bar?

Is there any XML code I can manually use to change just the Height of the Experience Bar? Or is that a Locked Element per the API/Sticky.

There are addons to change the value text but they don't re-size the Bar Height in relation to a change which then interferes with readability if I set the text larger than the bar when needed for my GUI scale/eyesight.

I can change the entire frame size with addons but they don't change just the height and to get/keep the text within the bar the entire frame is several orders too large.
Attached Thumbnails
Click image for larger version

Name:	EXPERIENCE BAR.png
Views:	18
Size:	53.1 KB
ID:	1740  
  Reply With Quote
Yesterday, 06:52 PM   #2
Calamath
AddOn Author - Click to view addons
Join Date: Aug 2019
Posts: 39
For the vanilla progress bar, this chat command will scale it vertically by 1.5.
/script ZO_PlayerProgressBar:SetTransformScaleY(1.5)
  Reply With Quote
Today, 02:52 AM   #3
Baertram
Super Moderator
 
Baertram's Avatar
WoWInterface Super Mod
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 5,101
Thanks Calamath for the code line.
-> example addon for your self-test Sp00sty : See attachment, untested!

You can change the variables progressBarScaleX and progressBarScaleY in the file ProgressBarScale.lua according to your needs.
Only use number values here, and . as decimal separator, no value < 0.

If you get any error message:
ESC -> AddOns -> Enable checkbox "Detailed error messages".
ReloadUI.
Repeat the error

Send the complete error message here "as text!" (no screeshots).
Attached Files
File Type: zip ProgressBarScale_v1.zip (1.1 KB, 7 views)

Last edited by Baertram : Today at 02:58 AM.
  Reply With Quote
Today, 06:06 AM   #4
Sp00sty
Join Date: Apr 2014
Posts: 69
Thanks,

I was hoping for just some XML and you went above and beyond.

The Chat code works fine and then I can work back and forth with Azurah (show always + text Font/size) even if only temporary for each session.

But the addon doesn't seem to do anything, no visual change on screen after activated and the following error, /relaodui and log in/out no change:

Code:
user:/AddOns/ProgressBarScale/ProgressBarScale.lua:8: unexpected symbol near 'local'
  Reply With Quote

ESOUI » AddOns » AddOn Search/Requests » [Request] [Manual Edit] XML code to change the Size/Height of Experience Bar?

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off