How to Adjust the Size of the Panels

Thanks to the split container code you can adjust the width of the panels for the two IBH panels and the height of the Review panel directly from within the game, so you only need to follow these instructions if you want to adjust the size of the Half-Time and Full-Time Review screens, or if you want the IBH panels to use fixed values or you want to add/remove the vertical split from some of the panels.


How to edit the sizes of the individual panels

Before editing the individual panels you need to understand what the following codes do:

minimum_height - this sets the minimum height of the panel if the available space is less than this value then the panel won't show.

default_height - this is the height that the game trys to display the panel at, depending on available space it can appear smaller (to min width as above) or bigger.

Whilst similar codes set the width of the panels.

Normally for these codes you'd enter a number which corresponds to the number of pixels you want the panel to be, however there is also an option to use a negative number (i.e. -1) the negative sign tells the game to make the panel proportional to the available space with the number determining the ratio.

-1 tells the game to fill the rest of the available space (after it has drawn any panels with actual pixel values) equally between all the panels set to -1. So if you set both of the right panels to -1 you'd end up with two equal height panels. If you set the top panel to 500 and the bottom panel to -1 the top panel would take up 500 pixels and the bottom one would take up what space is left.

If you set the top panel to -2 and the bottom panel to -1 then the top panel would take up 2/3 of the space with the bottom panel getting 1/3.

If you want to hide a panel then set both the values to 1 and this will in practice hide the panel from view.

priority - this tells the game in which order to hide panels if there isn't enough space to show them all, the lower the number the higher the priority so a priority="2" panel will be hidden before a prirority="1" panel.

With the above in mind you can now adjust the panel sizes.

The match mid match review panel controls the Half-Time Screen whilst the match full time review panel controls the Full-Time Screen. Each file is edited in the same way and I have commented the files to denote where the various panels start so you just need to adjust the various width, height and priority values to suit your needs.

For the IBH panels the match in between highlights panel controls the main panel that shows during a match when no highlights are playing and the match in between highlights panel review file controls the Post Match Screen (the screen you get when you revisit an already played match). Both of these files are edited in the same way and I have commented the files to denote where the various panels start so you just need to adjust the various width, height and priority values to suit your needs.


If you like my work then feel free to send me a donation through paypal. Note this is completely optional all of my content will always be free.