Jas80 Posted November 23, 2017 Share Posted November 23, 2017 Hi, how can I resize the text in match statistics panel to hide the scrollbar? Thanks! Link to post Share on other sites More sharing options...
michaeltmurrayuk Posted November 23, 2017 Share Posted November 23, 2017 It should be controlled by the 'match stats overview' xml file found in the panels/match folder which you'll need to extract from the panels.fmf file. Locate this section of code: <widget class="table" id="mstn" layout="5,-2,-3,-2,5" mode="printable" auto_size_rows="true" fixed_size_rows="false" row_spacing="0"> <list id="column_properties"> <record indx="1" alignment="left, centre_y" colour="text" /> <record indx="2" alignment="centre" colour="text" /> <record indx="3" alignment="right, centre_y" colour="text" /> </list> And either changing the table code by switching the rows from auto to fixed and then adding a row_height="X" bit changing X to the height your want, that will resize the rows. To change the text size try adding a size="X" bit to the record lines as that should control the text, again changing X to the value you want. Link to post Share on other sites More sharing options...
Jas80 Posted November 23, 2017 Author Share Posted November 23, 2017 Thanks @michaeltmurrayuk, it works! You are the best! Link to post Share on other sites More sharing options...
dansh1989 Posted December 16, 2017 Share Posted December 16, 2017 Hi I'm trying to do this also. I have extracted and opened up the Match stats overview but struggling on how to adjust?any ideas thanks Link to post Share on other sites More sharing options...
dansh1989 Posted December 17, 2017 Share Posted December 17, 2017 Tried changing the code lines to adjust panels and text size but getting this error Link to post Share on other sites More sharing options...
dansh1989 Posted December 19, 2017 Share Posted December 19, 2017 On 23/11/2017 at 14:36, michaeltmurrayuk said: It should be controlled by the 'match stats overview' xml file found in the panels/match folder which you'll need to extract from the panels.fmf file. Locate this section of code: <widget class="table" id="mstn" layout="5,-2,-3,-2,5" mode="printable" auto_size_rows="true" fixed_size_rows="false" row_spacing="0"> <list id="column_properties"> <record indx="1" alignment="left, centre_y" colour="text" /> <record indx="2" alignment="centre" colour="text" /> <record indx="3" alignment="right, centre_y" colour="text" /> </list> And either changing the table code by switching the rows from auto to fixed and then adding a row_height="X" bit changing X to the height your want, that will resize the rows. To change the text size try adding a size="X" bit to the record lines as that should control the text, again changing X to the value you want. I have replaced to original file so no longer have the error. Was just wanting to know where exactly to add the lines to be able to do this?iv tried following these instructions but I must be going wrong somewhere as the error reappears. Link to post Share on other sites More sharing options...
michaeltmurrayuk Posted December 20, 2017 Share Posted December 20, 2017 19 hours ago, dansh1989 said: I have replaced to original file so no longer have the error. Was just wanting to know where exactly to add the lines to be able to do this?iv tried following these instructions but I must be going wrong somewhere as the error reappears. You should just need to change the lines to read something like: <record indx="1" alignment="left, centre_y" colour="text" size="15"/> Also the error message should generally tell you what line the error in the code is on to help narrow down where the problem is, though I expect as you are on a MAC it is the text program you are using that is causing the problem as the Mac version tends to replace the " with a slanted version which is a different character and isn't read by the game, in the options menu of your text editor try turning off the option that should be called something like smart punctuation and then replace the " with the proper ones. Link to post Share on other sites More sharing options...
dansh1989 Posted December 20, 2017 Share Posted December 20, 2017 Thanks Michael! I did notice the " was changed slightly as I entered it. I'll give it a try thanks again 👍👍 Link to post Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.