Kosminhotep 0 Posted October 18, 2014 Hi. I've searched high and low, but couldn't find anything about this. In playerspanel.xc I have this vehicle config for the large panels: // Display format for player nickname (macros allowed, see readme-en.txt). // Формат отображения имени игрока (допускаются макроподстановки, см. readme-ru.txt). "nickFormatLeft": "<font alpha='{{alive?#FF|#80}}'><font face='Lucida Console' size='11'><font color='{{c:kb}}'>{{kb%2d~k|--k}}</font> <font color='{{c:wn8}}'>{{wn8%4d|----}}</font> <font color='{{c:rating}}'>{{rating%2d~%|--%}}</font></font> {{name%.12s~..}}<font alpha='#A0'>{{clan}}</font></font>", "nickFormatRight": "<font alpha='{{alive?#FF|#80}}'>{{name%.12s~..}}<font alpha='#A0'>{{clan}}</font> <font face='Lucida Console' size='11'><font color='{{c:rating}}'>{{rating%2d~%|--%}}</font> <font color='{{c:wn8}}'>{{wn8%4d|----}}</font> <font color='{{c:kb}}'>{{kb%2d~k|--k}}</font></font></font>", // Display format for vehicle name (macros allowed, see readme-en.txt). // Формат отображения названия танка (допускаются макроподстановки, см. readme-ru.txt). "vehicleFormatLeft": "<font alpha='{{alive?#FF|#80}}'><font color='{{c:t-rating}}'>{{vehicle}} <font face='Lucida Console' size='11'>{{t-rating%2d~%|--%}}</font></font></font>", "vehicleFormatRight": "<font alpha='{{alive?#FF|#80}}'><font color='{{c:t-rating}}'><font face='Lucida Console' size='11'>{{t-rating%2d~%|--%}}</font> {{vehicle}}</font></font>", // Display format for frags (macros allowed, see readme-en.txt). // Формат отображения фрагов (допускаются макроподстановки, см. readme-ru.txt). "fragsFormatLeft": "{{frags}}", "fragsFormatRight": "{{frags}}", which gives me: The "nickFormatLeft" and "nickFormatRight" fields are aligned to left and right respectively. "vehicleFormatLeft" and "vehicleFormatRight" are centered. How can I align them to the right and left? Thanks in advance! Quote Share this post Link to post Short link Share on other sites
FartsInTanks 1 #225453 Posted October 26, 2014 I fiddled with this for almost a year... got it to align columns with ANY monospaced font. I use the stock font. Shows 0's when a stat isnt available.. here is the format from my Large Panel, maybe it will help you: "large": { // Minimum width of the player's name column, 0-250. Default is 170. // ??????????? ?????? ????? ??????, 0-250. ?? ?????????: 170. "width": 200, // Display format for player nickname (macros allowed, see readme-en.txt). // ?????? ??????????? ????? ?????? (??????????? ????????????????, ??. readme-ru.txt). "nickFormatLeft": "<font color='{{c:wn8}}'>{{wn8%4.4d|0000}}</font> <font color='{{c:rating}}'>{{rating%2.2d~%|00%}}</font> <font color='{{c:kb}}'>{{kb%2.2d~k|00k}}</font> <font color='{{c:eff}}'>{{nick}}</font></font>", "nickFormatRight": "<font color='{{c:eff}}'>{{nick}}</font> <font color='{{c:wn8}}'>{{wn8%4.4d|0000}}</font> <font color='{{c:rating}}'>{{rating%2.2d~%|00%}}</font> <font color='{{c:kb}}'>{{kb%2.2d~k|00k}}</font>", // Display format for vehicle name (macros allowed, see readme-en.txt). // ?????? ??????????? ???????? ????? (??????????? ????????????????, ??. readme-ru.txt). "vehicleFormatLeft": "<font color='{{c:t-battles}}'>{{t-battles%4.4d|0000}}</font> <font color='{{c:t-rating}}'>{{t-rating%2.2d~%|00%}}</font>", "vehicleFormatRight": "<font color='{{c:t-rating}}'>{{t-rating%2.2d~%|00%}}</font> <font color='{{c:t-battles}}'>{{t-battles%4.4d|0000}}</font>", // Display format for frags (macros allowed, see readme-en.txt). // ?????? ??????????? ?????? (??????????? ????????????????, ??. readme-ru.txt). "fragsFormatLeft": "{{frags}}", "fragsFormatRight": "{{frags}}", Quote Share this post Link to post Short link Share on other sites
Kosminhotep 0 #226128 Posted October 29, 2014 Thanks, but that doesn't help me at all. Sure if it's all numbers, monospace and 4 digits it's aligned nicely. But I want the vehicle name too, and the vehicleFormatLeft/Right are centered instead of aligned left/right like the nicks. Align left/right in the font tag does nothing. Can I use extra fields or something, can those be aligned? Quote Share this post Link to post Short link Share on other sites