Jump to content

How do I increase the league table size to show all standings?


Erimus1876

Recommended Posts

As you can see, only 23 of the 24 clubs in the league table are presented, the last one just doesn't quite fit so I have to use the scroll bars all the time to see whose bottom.

Can someone help me make the table panel a little bit bigger and maybe tell me how to increase the font size too? What panel and piece of code would I need to ammend?

Thanks :thup:

tablelk.jpg

Link to post
Share on other sites

The xml code to change is found in your league stage file. The file should be in your skins folder, or if not you'll need to extract it from your panels.fmf file and put it in your skin folder. The bit I've highlighted in bold is the line you need to add.

<panel title="League Stage Panel">

<!-- League Table Positional Styles -->

<flags id="cham" value="table/custom/league/champions/row"/>

<flags id="prom" value="table/custom/league/promotion/row"/>

<flags id="tppo" value="table/custom/league/topplayoff/row"/>

<flags id="btpo" value="table/custom/league/botplayoff/row"/>

<flags id="rleg" value="table/custom/league/relegation/row"/>

<flags id="splt" value="table/custom/league/divider/row"/>

<flags id="nrml" value="table/row"/>

<layout class="stick_to_sides_attachment" alignment="horizontal" inset="30"/>

<flags id="nlay" value="45, 35, -1, 65, 50, 50, 50, 50, 50, 50, 50, 50"/> <!-- normal layout -->

<flags id="xlay" value="45, 35, -1, 65, 45, 50, 48, 45, 45, 45, 50, 48, 45, 48, 45, 50, 50"/> <!-- extended layout -->

<flags id="slay" value="45, 0, -1, 65, 45, 0, 0, 45"/> <!-- small layout -->

<flags id="srly" value="0, 0, -1, 65, 45"/> <!-- smaller layout -->

<flags id="flay" value="45, 0, -1, 65, 45, 0, 0, 45"/> <!-- floating layout -->

<flags id="olay" value="45, 35, -1, 65, 65, 45, 100, 90, 45, 45, 45"/> <!-- attacking layout -->

<flags id="glay" value="45, 35, -1, 65"/> <!-- group draw layout -->

<flags id="snly" value="45, 35, -1, 65, 40, 30, 30, 30, 30, 30, 30, 30"/> <!-- shortened normal layout, this also uses very shortest headings (P,W,D,L,etc) -->

<!-- normal table properties -->

<flags id="mode" value="fill_rows, stripe_rows, fill_custom_rows, keyboard, printable, navigate_rows"/>

<integer id="contextual_handler_column_id" value="team"/> <!-- due to how panel works with changing layours, the column ID is set from code -->

<!-- use sortable heading class -->

<flags id="heading_class" value="column_heading"/>

<boolean id="scroll_to_selection" value="true"/>

<flags id="row_height" value="20"/>

<boolean id="auto_size_rows" value="horizontal"/>

<boolean id="scst" value="true"/>

</panel>

Link to post
Share on other sites

That skin is wierd. How did you get the league table to show full team names?

Unfortunately you have to amend them into the editor, which obviously can take a long time. To get them to show in game (like in the league tables and 3D match screen) you have to edit the club.xml file found in the following folder: C:\Program Files\football manager 2011\tools\editor\data\format\database

The bit to amend is highlighted below. It allows you to override the short name limitation and forces the game to only use full names.

<!-- 6 letter name -->

<record>

<flags id="field" value="Csxn"/>

<string id="name" value="Six Letter Name"/>

<flags id="type" value="string"/>

<integer id="max_length" value="30"/> i.e. Change it from "6" to "30"

<boolean id="is_client_field" value="true"/>

<boolean id="is_language_field" value="true"/>

</record>

You can now enter full names in all the club name fields in the editor, like this >>>>

editdw.jpg

Link to post
Share on other sites

Nice one Erimus =]

Do you (or someone else) know if or how the columns propeties can be changed?

I'm struggling with this panel now for a while.

As you can see, all the columns are left-aligned, same colours. I, for example, want the first column's alignmet to be set to right, and the last column to be in different colour.

Is it possible?

Cheers

Link to post
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...