Jump to content
Korean Random

Align right PlayersPanel in columns


Recommended Posts

Hi,
 
So I almost managed to achieve what I wanted but I can't get the right PlayersPanel to look the way I want it. This is how it looks like now:
 
jj5gkm.jpg

Left PP: WN8, kbattles and nick aligned to left, then XVM indicator and frag count, vehicle, etc.
Right PP: WN8, kbattles and nick not really aligned and I have no bloody idea how to align it.

 

The code:

"leftNick": "<textformat tabstops='[35,70]' align='left'><font color='{{c:wn8}}'>{{wn8%4d|----}}</font><tab><font color='{{c:kb}}'>{{kb%4.01f~k|----}}</font><tab><font color='{{l10n:{{clannb}}}}'>{{name%.18s~..}}{{clan%.7s~..}}</font></textformat>"

"rightNick": "<textformat tabstops='[140, 180]' align='right'><font color='{{l10n:{{clannb}}}}'>{{name%.18s~..}}{{clan%.7s~..}}</font><tab><font color='{{c:kb}}'>{{kb%4.01f~k|----}}</font><tab><font color='{{c:wn8}}'>{{wn8%4d|----}}</font></textformat>"

How can I make the right PP Wn8, kbattles and nick aligned to the right with similar spacing between them as in the left one?

 

Thank you in advance for your help.

Link to comment
Short link
Share on other sites

I've tested these "tabstops" quite much and it seems they don't work at all or the code I have is not really correct. It doesn't really matter what values will I put there... they make no change. I'm of coure restarting the game after every change. Any comments on that?

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...