Jump to content
Sports Interactive Community
Sign in to follow this  
PequenoGenio

Help - player profile

Recommended Posts

Hello skinning gods...

EAKiRHu.jpg

Can somebody tell me how do i do the following things on the panel above:

How do I remove the red square?

How do the green rectangle increase in size, thus occupying the space of the red?

How to increase the width of the yellow rectangles?

How do I reduce the width of the black rectangles?

I am a complete novice at this. Do not even know anything about edit panels.

Edit: i play in window mode.

Share this post


Link to post
Share on other sites

Michael has posted skinning instructions at the top of the forum section.................................

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.

Share this post


Link to post
Share on other sites
Michael has posted skinning instructions at the top of the forum section.................................

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.

But in what panel is that code located?

Share this post


Link to post
Share on other sites

the xml will usually start left to right, the top codes will be the player details, then the finance, and then the next column and so forth.

Container in the panel size, widget is the info.

make a copy of it and start playing around.. best way to learn, if you bugger up you can just copy the original back and start again,

Share this post


Link to post
Share on other sites
the xml will usually start left to right, the top codes will be the player details, then the finance, and then the next column and so forth.

Container in the panel size, widget is the info.

make a copy of it and start playing around.. best way to learn, if you bugger up you can just copy the original back and start again,

I try but i can't.

Thanks anyway

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...