How to Adjust the Size of the Panels

These instructions will assume you have already downloaded and installed the version of the Highlights mod you want to edit.

To download the mod see this page

When creating the mod I set the panel sizes to those that work across a wide variety of resolutions and allow for different views in different panels, however if you are playing at one resolution and know what views you want enabled in each panel it is possible to tweak the size of the panels to suit your preferences.

How to edit the position and size of the full panel.

NOTE: Due to changes in how Football Manager 2015 works to FM2014 these instructions have slightly changed for FM2015.

By default the panel is set to use as much screen space as possible whilst not covering other items, however it is possible to adjust the position of the panel to suit your needs.

First open the 'match in between highlights panel.xml' and locate this section of code near the top of the file:

<!-- Full Panel -->

<!-- Line Below - Offset determines how many pixels panel appears into the screen from the left/right edges of screen, reducing value will widen panel but will hide right corner under match feed [15.1.3]-->

<!-- Line Below - Inset determines how many pixels panel appears into the screen from the top/botto of the screen, reducing value will heighten panel but it will cover bottom notification panel [15.1.3]-->

<!-- Line Below - If changing the inset value you will also have to change the heights of the containers on lines #194 #377 #699 -->

<container class="horizontal_adaptive_container" inset="40" offset="310" gap="0" >

This code determines the position of the full panel and as you can see I have added various comments to the file to explain what you need to do to adjust the overall position of the panel.

The offset value on the blue line determines how far from the left/right of the screen the panel appears with it centered in the middle of the screen, the lower the offset value the closer the panel will appear to the sides of the skin, however reducing this value from the preset value in the Dark Skin Mod will result in the Match Feed panel notifications covering part of the right side of the panel.

The inset value on the blue line determines the vertical position of the panel, and again a lower value will push the panel towards the top and bottom of the screen, however setting it any lower than this will cause the panel to cover the scoreboard on the max. screen view.

Due to changes with FM2015 if you wish to lower/raise the panel there is another bit of code you also need to adjust, further down in the xml file you will notice code like this:

<!-- container to create space at bottom of screen so caption popup isn't blocked needs adjusting if changing panel position both mini and default heights must match-->

<container class="plain_box" id="titl" minimum_height="50" priority="1" default_height="50">

</container>

This code generates a transparent panel at the bottom of the highlights panel to lift the content of the panel up so it doesn't cover the match caption popup box at the bottom of the screen, you need to adjust the two height values on this line with the above inset line to adjust the height and vetical positioning of the panel.

Note that this code appears three times, once for each subpanel (left, middle and right) so any changes you make to one panel need to be carried out in the other two to keep the bottom of the panel aligned. Also note when adjusting the height values in this code you need to keep both the minimum_height and default_height values the same to stop any problems.

How to edit the sizes of the individual panels

NOTE: These instructions are exactly the same as for the FM2014 version of the mod, though some of the default values have been tweaked to fit better with font changes in FM2015..

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

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

default_width/height - this is the width/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.

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 all three of the horizontal panels to -1 you'd end up with three equal width panels. If you set the right panel to 500 and the other two panels to -1 the right panel would take up 500 pixels and the other two would share the remaning space equally.

If you set the left panel to -2 and the other two panels to -1 then the left panel would take up half the space with the other two panels taking a quarter each. Set the left panel to -3 and leaving the other panels as -1 will see the left panel take 3/5 of the space and the other two panels getting 1/5 each and on.

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.

To adjust the left panel locate this code:

<!-- Left Panel TO RESIZE ADJUST MINIMUM_WIDTH AND DEFAULT_WIDTH VALUES-->

<container class="vertical_adaptive_container" id="left" default_width="-1" minimum_width="300" priority="1" inset="0" offset="0" gap="0">

The middle panel is adjusted with this code:

<!-- Middle Panel TO ADJUST SIZE EDIT MINIUM_WIDTH AND DEFAULT_WIDTH VALUES-->

<container class="vertical_adaptive_container" minimum_width="300" default_width="-1" priority="2" inset="0" offset="0" gap="0">

The coding for the right panel is slightly different as it also has two vertical subpanels, the width of the right panel is controlled by this code:

<!-- Right Split Panel TO ADJUST WIDTH OF THE RIGHT TOP&BOTTOM PANELS ADJUST MIN_WIDTH AND DEFAULT_WIDTH VALUES-->

<container class="vertical_adaptive_container" inset="0" offset="0" minimum_width="1" default_width="400" priority="3" gap="0">

Whilst the height of the top part is controlled by this code:

<!-- Top Right Panel - TO ADJUST HEIGHT OF TOP RIGHT PANEL ADJUST VALUES IN BELOW LINE-->

<container class="plain_box" id="titl" minimum_height="1" priority="3" default_height="380">

And the height of the bottom part is controlled by this code:

<!-- Bottom Right Panel - TO ADJUST HEIGHT ALTER VALUES ON BELOW LINE-->

<container class="plain_box" minimum_height="1" priority="4" default_height="-1">

As you'll see each panel has a comment above it in the file to denote where the coding for that panel starts.

You now just need to play around with the values until you are happy with sizes, in addition if you want a panel to stay a static size set the minium and default values to the same value.

Shop at Amazon.co.uk