yonko Posted December 21, 2019 Share Posted December 21, 2019 Hello everyone, Can someone please help editing the green boxes for the names on the pitch in this inbox screen? Which file do I need to edit and which line? Also I want to make the pitch bigger along with the shirt icons. Thanks in advance Link to post Share on other sites More sharing options...
yonko Posted December 22, 2019 Author Share Posted December 22, 2019 Anyone? Link to post Share on other sites More sharing options...
Sh@rk Posted December 23, 2019 Share Posted December 23, 2019 Main file to edit is in panels/news_item_panels/inbox content with pitch panel. Search for the widget class "pitch with tactics". You have to add a line "player_icon_file="FILE" And point to a tactic icon file. Then you have to change the colour of the box. Link to post Share on other sites More sharing options...
yonko Posted December 23, 2019 Author Share Posted December 23, 2019 Actually I figured how to change the color of the boxes with players' names. In the file you mention, there is a widget bit at the bottom which points to the following file - tactics/tactics icon with team info panel. Within that file, at the bottom there is bit which controls the color of those boxes - I just changed the name of the red replacement code. Now in order to make the actual pitch bigger, I assume that I have to increase the value for the height inside panels/news_item_panels/inbox content with pitch panel.xml file <widget class="pitch_with_tactics" id="ptch" icon_flags="show_name,use_player_kits_front,show_team_name,hide_bordered_box" height="460" Link to post Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now