Jump to content
Korean Random

battleLoading.xc - Aligning Enemy Name/Clan


Go to solution Solved by TornadoCat,

Recommended Posts

I'm running into an issue where I cannot seem to get the name and clan on the enemy side of the battle loading panel to align right. It "seems" to be aligned left and if a clan is missing then it gets bumped over farther to the right. I'd like to have the enemy side mirror the allies side if possible. Below is my code for the panels. Thanks in advance!

 

image.thumb.png.4f6eb1d3c4ac0c6183139e83be4eb972.png

 

"formatRightNick": "<font alpha='#A0'>{{clan}}</font>{{name%.15s~..}}<textformat tabstops='[45, 10]'><tab><font color='{{c:winrate}}'>{{winrate%2d~%| --%}}</font><tab><img src='xvm://res/icons/xvm/xvm-user-{{xvm-user|none}}.png'></textformat>",

 

Edited by RavenStryker
Link to comment
Short link
Share on other sites

  • Solution

Try this

"formatRightNick": "{{name%.15s~..}}<font alpha='#A0'>{{clan}}</font><font color='{{c:winrate}}'> {{winrate%2d~%|--%}}</font><img src='xvm://res/icons/xvm/xvm-user-{{xvm-user|none}}.png'>",

I've turn the playername, clan and winrate to one textfield, added some spacebars, removed tabstops and it's done

WorldofTanksScreenshot2025_09.20-12_02_51_50.png.3c08d85509019d8d95057236809f086c.png

I've changed the only playername field, so don't pay attention to the other font, now it should to work correctly

 

Edited by TornadoCat
Link to comment
Short link
Share on other sites

6 hours ago, TornadoCat said:

Try this

"formatRightNick": "{{name%.15s~..}}<font alpha='#A0'>{{clan}}</font><font color='{{c:winrate}}'> {{winrate%2d~%|--%}}</font><img src='xvm://res/icons/xvm/xvm-user-{{xvm-user|none}}.png'>",

I've turn the playername, clan and winrate to one textfield, added some spacebars, removed tabstops and it's done

WorldofTanksScreenshot2025_09.20-12_02_51_50.png.3c08d85509019d8d95057236809f086c.png

I've changed the only playername field, so don't pay attention to the other font, now it should to work correctly

 

 

 

Looks like I was just over complicating it. 😅 I made a few tweaks to it and it lines up perfect now. Thanks for your help, it is truly appreciated.

 

image.thumb.png.0e680217aa0186e52fc071e7a211f32a.png

  • Upvote 1
Link to comment
Short link
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...