Jump to content
Korean Random
Sign in to follow this  

Recommended Posts

Guys

 

how to properly align left and right?

 

kKieppv.jpg

"medium2": {

      // Width of the vehicle name column, 0-250. Default is 65.

      // Ширина поля названия танка, 0-250. По умолчанию: 65.

      "width": 135,

      // Display format for the left panel (macros allowed, see readme-en.txt).

      // Формат отображения для левой панели (допускаются макроподстановки, см. readme-ru.txt).

      "formatLeft": "<font face='$FieldFont' color='{{c:wn8}}'>{{vehicle%-20.15s~}}</font><font face='$FieldFont'>{{hp%4.4s|----}}</font>",

      // Display format for the right panel (macros allowed, see readme-en.txt).

      // Формат отображения для правой панели (допускаются макроподстановки, см. readme-ru.txt).

      "formatRight": "<font face='$FieldFont'>{{hp%-4.4s|----}}</font><font face='$FieldFont' color='{{c:wn8}}'>{{vehicle%20.15s~}}</font>"

    },

Share this post


Link to post

Short link
Share on other sites

Make it with tabsstops!

 

// Display format for the left panel (macros allowed, see readme-en.txt).
      // Формат отображения для левой панели (допускаются макроподстановки, см. readme-ru.txt).
      "formatLeft": "<textformat leading='-16' tabstops='[1,79,1,54]'><p align='left'><tab><font color='{{c:xwn8}}'>{{vehicle}}</font><tab><font color='{{c:hp-ratio}}'>[HP: {{hp}}]</font><\p></textformat>",
      // Display format for the right panel (macros allowed, see readme-en.txt).
      // Формат отображения для правой панели (допускаются макроподстановки, см. readme-ru.txt).
      "formatRight": "<textformat leading='-16' tabstops='[40,25,50,30]'><p align='left'><font color='{{c:hp-ratio}}'>[HP: {{hp}}]   </font><tab><font color='{{c:xwn8}}'>{{vehicle}}</font><\p></textformat>"

 

z62vlp7pguso.jpg

  • Upvote 3

Share this post


Link to post

Short link
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...