TCSSkin Posted December 7, 2021 Share Posted December 7, 2021 Overview So both skin creators and end users will likely have noticed their players bar widget has been affected by the update, this is unfortunately part and parcel with skin creating and has happened previously. To diagnose, we need to open the old version of the file, and the new version and compare the two, and its pretty open and shut. All you need to do is replace this shirt code <!--shirt--> <container class="tactics_icon_info_panel" id="PsnS" file="" icon_flags="show_number,dont_colour_number,use_player_kits_back" width="38" iEXP="false"> <layout class="stick_to_sides_attachment" alignment="all" inset="0" apply_to_children="true"/> <widget class="tactics_kit_picture" id="kitp" /> <container> <layout class="stick_to_sides_attachment" alignment="top,right" inset="0" apply_to_children="true"/> <!--injury/red/yellow card --> <container class="inner_box_no_margin" id="inji" height="16" width="16" oSin="true"> </container> </container> </container> with <!--shirt--> <container width="38"> <layout class="stick_to_sides_attachment" alignment="all" inset="0" apply_to_children="true"/> <widget class="shirt_number_label" id="PsnS"/> <container> <layout class="stick_to_sides_attachment" alignment="top,right" inset="0" apply_to_children="true"/> <widget class="picture" file="icons/16px/slightly injured" height="16" width="16" id="inji" scale_picture="true"/> </container> </container> And the result? 5 Link to post Share on other sites More sharing options...
Napolitanos21 Posted December 7, 2021 Share Posted December 7, 2021 It's possible to make the shirts bigger? Link to post Share on other sites More sharing options...
EnigMattic1 Posted December 8, 2021 Share Posted December 8, 2021 I must be doing something wrong because it says that ALL my players are slightly injured and the shirt is slightly overlapping the player image. Link to post Share on other sites More sharing options...
giglet13 Posted December 8, 2021 Share Posted December 8, 2021 27 minutes ago, EnigMattic1 said: I must be doing something wrong because it says that ALL my players are slightly injured and the shirt is slightly overlapping the player image. I had the same issue, in the 'Player Picture' code above this shirt section, just adjust the 'Gap' from -30 to -10. <container height="50"> <layout class="arrange_horizontal_attachment" layout="-1,-1" offset="0" gap="-10" /> <layout class="stick_to_sides_attachment" alignment="vertical" inset="0" apply_to_children="true" /> <!-- Player picture --> <widget class="object_portrait_picture" id="pict" scale_picture="true" image_alignment="middle"> This fixed to look like this for me using the Tato Skin Panel as my base file (with the adjustment to 'shirt' section code from above as well) Link to post Share on other sites More sharing options...
EnigMattic1 Posted December 8, 2021 Share Posted December 8, 2021 10 minutes ago, giglet13 said: I had the same issue, in the 'Player Picture' code above this shirt section, just adjust the 'Gap' from -30 to -10. <container height="50"> <layout class="arrange_horizontal_attachment" layout="-1,-1" offset="0" gap="-10" /> <layout class="stick_to_sides_attachment" alignment="vertical" inset="0" apply_to_children="true" /> <!-- Player picture --> <widget class="object_portrait_picture" id="pict" scale_picture="true" image_alignment="middle"> This fixed to look like this for me using the Tato Skin Panel as my base file (with the adjustment to 'shirt' section code from above as well) I will try that and see how it goes. Thanks. Link to post Share on other sites More sharing options...
EnigMattic1 Posted December 8, 2021 Share Posted December 8, 2021 (edited) Didn't work. Had the file from Tato22 and made the same changes as you after copying the code posted above and now, I don't even have the widget. Ignore that part, I didn't have all the containers closed. My problem now is, I don't have the player names on the widget. Edited December 8, 2021 by EnigMattic1 Kinda solved..... Link to post Share on other sites More sharing options...
sokkia Posted December 8, 2021 Share Posted December 8, 2021 22 hours ago, Napolitanos21 said: It's possible to make the shirts bigger? You should be able to increase the overall size by increasing the container width. You will have to try a few numbers to see what works best. <!--shirt--> <container width="62"> <layout class="stick_to_sides_attachment" alignment="all" inset="0" apply_to_children="true"/> <widget class="shirt_number_label" id="PsnS"/> <container> <layout class="stick_to_sides_attachment" alignment="bottom,right" inset="0" apply_to_children="true"/> <widget class="picture" file="icons/16px/slightly injured" height="16" width="16" id="inji" scale_picture="true"/> </container> </container> Link to post Share on other sites More sharing options...
d3niz Posted December 9, 2021 Share Posted December 9, 2021 @bluestillidie00Do you mind to upload the file? I've tried many times myself and it never worked Link to post Share on other sites More sharing options...
TCSSkin Posted December 9, 2021 Author Share Posted December 9, 2021 7 hours ago, d3niz said: @bluestillidie00Do you mind to upload the file? I've tried many times myself and it never worked An updated version is in @keysi's skin, that's where i got the file for mine from, haven't touched the match screen on my own skin yet 1 Link to post Share on other sites More sharing options...
keysi Posted December 9, 2021 Share Posted December 9, 2021 This is the updated default file from the resource archiver including the code shared in this thread. match players bar widget.xml 3 Link to post Share on other sites More sharing options...
FMLuc Posted December 9, 2021 Share Posted December 9, 2021 3 ore fa, keysi ha scritto: This is the updated default file from the resource archiver including the code shared in this thread. match players bar widget.xml 4 kb · 2 downloads But the player picture is over there, how to put it in again? Link to post Share on other sites More sharing options...
keysi Posted December 9, 2021 Share Posted December 9, 2021 1 hour ago, FMLuc said: But the player picture is over there, how to put it in again? The player picture is not in the default skin so it's logical it's not in this default file. I shared it here to allow people to take the updated code of the shirt widget. Link to post Share on other sites More sharing options...
lembergman Posted December 9, 2021 Share Posted December 9, 2021 5 часов назад, FMLuc сказал: But the player picture is over there, how to put it in again? match players bar widget.xml Link to post Share on other sites More sharing options...
giglet13 Posted October 21, 2022 Share Posted October 21, 2022 (edited) Unsure if a similar thing has happened into FM23 - but tried moving this code over with no luck. Anybody already fixed it - can't work out what's up with it and I've not mucked around in the skin code for a fair few months! scrap that - fixed it. Edited October 21, 2022 by giglet13 Link to post Share on other sites More sharing options...
a31632 Posted October 22, 2022 Share Posted October 22, 2022 I edited mine for the 2023 version, had no issues with re-coding, pretty much the same as in the 2022 version Link to post Share on other sites More sharing options...
vonreichsm Posted October 22, 2022 Share Posted October 22, 2022 vor 20 Minuten schrieb a31632: I edited mine for the 2023 version, had no issues with re-coding, pretty much the same as in the 2022 version That´s realy nice to hear. 1 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