Gorod 20 Posted April 30, 2014 Подскажите пожалуйста. Как настроить максимальную ширину поля "ушей". То есть как сделать, что бы длинные ники игроков резались и не занимали пол экрана. Заранее спасибо за ответ. Quote Share this post Link to post Short link Share on other sites
vlad_cs_sr 1,575 #179554 Posted April 30, 2014 http://www.koreanrandom.com/forum/topic/14524-%D1%80%D0%B0%D1%81%D1%88%D0%B8%D1%80%D0%B5%D0%BD%D0%BD%D1%8B%D0%B9-%D1%84%D0%BE%D1%80%D0%BC%D0%B0%D1%82-%D0%BC%D0%B0%D0%BA%D1%80%D0%BE%D1%81%D0%BE%D0%B2/ Quote Share this post Link to post Short link Share on other sites
Gorod 20 #179578 Posted April 30, 2014 (edited) Еще один вопрос. Можно ли правые "уши" выравнять по левому краю? То есть я внес следующее изменение: "playersPanel": { "medium": { "formatLeft": "<font color='{{c:wn8}}'>{{nick%-.10s}}</font>", "formatRight": "<font color='{{c:wn8}}'>{{nick%-.10s}}</font>", "width": 10 }, Но ники в правых "ушах" выравниваются по правому краю. Edited April 30, 2014 by Gorod Quote Share this post Link to post Short link Share on other sites
TornadoCat 1,027 #179692 Posted April 30, 2014 @Gorod, {{nick%-11.11s}} Quote Share this post Link to post Short link Share on other sites
Gorod 20 #179714 Posted April 30, 2014 (edited) Metallist95, нет. Выравнивание для правых "ушей" по левому краю не работает. Edited April 30, 2014 by Gorod Quote Share this post Link to post Short link Share on other sites
TornadoCat 1,027 #179873 Posted May 1, 2014 @Gorod, да ладно ? Quote Share this post Link to post Short link Share on other sites
Gorod 20 #179879 Posted May 1, 2014 (edited) Metallist95, к сожалению у меня не выходит аленький цветочек: Может быть подскажете что не так xvm.xc Заранее спасибо) Edited May 1, 2014 by Gorod Quote Share this post Link to post Short link Share on other sites
TornadoCat 1,027 #179897 Posted May 1, 2014 @Gorod, без доп данных справа выровнять не получится, т. к. невозможно применить tabstops Quote Share this post Link to post Short link Share on other sites
Gorod 20 #179904 Posted May 1, 2014 Metallist95, можно пример. Что нужно написать, что бы было как у вас? Quote Share this post Link to post Short link Share on other sites
TornadoCat 1,027 #179934 Posted May 1, 2014 @Gorod, вы через цитирование хоть обращайтесь .. на тему то не подписан попробуйте "medium": { "formatLeft": "<textformat leading='9' tabstops='[65,75]'><font face='Luicida Console' size='13' color='#FFFFFF'><font color='{{c:t-battles}}'>{{t-hb%2d~h|--h}} </font><font color='{{c:t-rating}}'>{{t-rating%2d~%|--%}}</font></font><tab>{{nick%-11.11s}}<tab> </textformat>", "formatRight": "<textformat leading='9' tabstops='[75]'>{{nick%-11.11s}}<tab><font face='Luicida Console' size='13' color='#FFFFFF'><font color='{{c:t-battles}}'>{{t-hb%2d~h|--h}} </font><font color='{{c:t-rating}}'>{{t-rating%2d~%|--%}}</font></font></textformat>", "width": 130 }, 1 Quote Share this post Link to post Short link Share on other sites
Gorod 20 #179955 Posted May 1, 2014 , спасибо за помощь. Пока решил сделать так: "medium": { "formatLeft": "<textformat leading='9' tabstops='[25]'><font color='{{c:rating}}'>{{rating}}</font><tab><font color='{{c:wn8}}'>{{nick%-8.8s}}</font></textformat>", "formatRight": "<textformat leading='9' tabstops='[60]'><font color='{{c:wn8}}'>{{nick%-8.8s}}</font><tab><font color='{{c:rating}}'>{{rating}}</font></textformat>", "width": 8 }, Еще раз спасибочки) Quote Share this post Link to post Short link Share on other sites