Gorod Posted April 30, 2014 Share Posted April 30, 2014 Подскажите пожалуйста. Как настроить максимальную ширину поля "ушей". То есть как сделать, что бы длинные ники игроков резались и не занимали пол экрана. Заранее спасибо за ответ. @ Quote Link to comment Short link Share on other sites More sharing options...
vlad_cs_sr Posted April 30, 2014 Share 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 Link to comment Short link Share on other sites More sharing options...
Gorod Posted April 30, 2014 Author Share 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 Link to comment Short link Share on other sites More sharing options...
TornadoCat Posted April 30, 2014 Share Posted April 30, 2014 @Gorod, {{nick%-11.11s}} @ Quote Link to comment Short link Share on other sites More sharing options...
Gorod Posted April 30, 2014 Author Share Posted April 30, 2014 (edited) Metallist95, нет. Выравнивание для правых "ушей" по левому краю не работает. Edited April 30, 2014 by Gorod @ Quote Link to comment Short link Share on other sites More sharing options...
TornadoCat Posted May 1, 2014 Share Posted May 1, 2014 @Gorod, да ладно ? @ Quote Link to comment Short link Share on other sites More sharing options...
Gorod Posted May 1, 2014 Author Share Posted May 1, 2014 (edited) Metallist95, к сожалению у меня не выходит аленький цветочек: Может быть подскажете что не так xvm.xc Заранее спасибо) Edited May 1, 2014 by Gorod @ Quote Link to comment Short link Share on other sites More sharing options...
TornadoCat Posted May 1, 2014 Share Posted May 1, 2014 @Gorod, без доп данных справа выровнять не получится, т. к. невозможно применить tabstops @ Quote Link to comment Short link Share on other sites More sharing options...
Gorod Posted May 1, 2014 Author Share Posted May 1, 2014 Metallist95, можно пример. Что нужно написать, что бы было как у вас? @ Quote Link to comment Short link Share on other sites More sharing options...
TornadoCat Posted May 1, 2014 Share 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 Link to comment Short link Share on other sites More sharing options...
Gorod Posted May 1, 2014 Author Share 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 Link to comment Short link Share on other sites More sharing options...
Recommended Posts
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.