Jump to content
Korean Random
Sign in to follow this  
Okxa

Aligning tabs in players panel and "vehicleWidth" (also playerpanel background location)

Recommended Posts

The string i use is:

"vehicleFormatLeft": "<textformat leading='9' tabstops='[70,95,130]'>{{vehicle}}<tab><font face='mono'><font color='{{c:kb}}'>{{kb%2d~k|--k}}</font><tab><font color='{{c:wn8}}'>{{wn8%4d|----}}</font><tab><font color='{{c:winrate}}'>{{winrate%d~%|--%}}</font></font></textformat>",
"vehicleFormatRight": "<textformat leading='9' 'tabstops='[-70,-95,-130]'><font face='mono'><font color='{{c:winrate}}'>{{winrate%d~%|--%}}</font><tab><font color='{{c:wn8}}'>{{wn8%4d|----}}</font><tab><font color='{{c:kb}}'>{{kb%2d~k|--k}}</font></font><tab>{{vehicle}}</textformat>",

Which results in:

pKtqhwC.jpg

 

How ever when I increase "vehicleWidth", following happens (with "vehicleWidth": 200):

nYR547K.jpg

 

As you can see, the tabs wont align and the background shifts, any idea how to fix?

Share this post


Link to post

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.

Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...