MV Space between icon and name

Hey!

I have an issue with this plugin, GlobalTextCodes by modern algebra. I need it to display the level from a variable but it creates a space between the icon and the name.

1706724372063.png


The actual name of the skill in the database is Igno Lv.\*\v[101]. There's no spaces to the left as you can see and this happens with all the skills that use this code from the plugin (I only use it there).
The skills where it's not in use show the icon as it should be, right next to the name.

I tried changing the position in the plugin list and turning off most of the other plugins with no solution. Also, the icon and skill appears perfectly fine in other menus.
Does anyone know what could be the issue here?

Thanks!
You've cropped your screenshot down very far - where in the game is that being displayed?

I'm guessing it's an error in the plugin's magtcCalculateAlignmentExX(), but it's impossible to trace what's getting passed into that without knowing what window you're seeing this in.
Oh, yeah, you are right, I'm sorry. I thought it was obvious by the window background. It's the window at the top that appears when you use any skill.

This is the full view:

1706726439707.png


In other windows it appears fine.
I thought it was obvious by the window background.
Well, the battle log typically has a dark gradient background, which yours is lacking; and also the portion of the graphics we can see doesn't look anything like a typical battleback 😛

So the weird thing is, that shouldn't be going through the text codes plugin at all.

Window_Battlelog.drawLineText() already calls drawTextEx(), which supports escape codes; so it shouldn't be getting touched.

What plugin are you using to modify the battle log? If you disable it, does the bug go away?
It looks default to me... :|

I just tried this in a new project and it also does the space. In order to show the icon and the skill name I had to add YEP_BattleEngineCore, but nothing else (the 0 is the value in the variable).

1706733854817.png


Maybe the problem lies in the compatibility between this two plugins?

Original thread: https://forums.rpgmakerweb.com/threads/space-between-icon-and-name.165330/