Jump to content

[FM20][HELP] Titlebar height [SOLVED]


Mikeonhisboat
 Share

Recommended Posts

Hey all, apologies if this is answered elsewhere (searched with no joy).

I'm trying to make the main titlebar and the club name and colour bigger. I have editted header.xml to make the container height = 100 rather than 60. But for the life of me can't find the file to edit to get the team colouring to expand to same height as the container. Currently look is as in pic below. I want the blue colouring behind team name to expand to fill the whole newly enlarged totlebar. How do I do that?

And similarly how do I increase size of the text and logo here too?

Many thanks

 

 

Screenshot (17).png

Link to post
Share on other sites

This code?

<!--object name and search bar-->
                    <widget class="titlebar_search_panel" id="Tits">
                        <record id="object_property">
                            <integer id="get_property" value="objt" />
                            <integer id="set_property" value="objt" />
                        </record>
                    </widget>
 

I don't understand how that allows me to change size of the heading?

Link to post
Share on other sites

titlebar search panel is a different panel, you've presented the code pointing to it in the titlebar.xml. 

2 different panels. 

 

You are then looking for something similar to the below (from my skin, yours will differ slightly):

<!-- title area -->
                <widget class="text" id="sect" font="title" alignment="centre" size="14" style="semi_bold" multiline="false" auto_size="vertical" wants_mouse_events="false" dont_give_default_focus="true" colour="secondary">
                    <record id="object_property">
                        <list id="get_properties">
                            <record>

 

Change the size value to your preference. 

 

 

If you are lacking this panel you will need to extract it using the resource archiver, guides in the sticky posts. 

Link to post
Share on other sites

10 minutes ago, Loda said:

titlebar search panel is a different panel, you've presented the code pointing to it in the titlebar.xml. 

2 different panels. 

 

You are then looking for something similar to the below (from my skin, yours will differ slightly):

<!-- title area -->
                <widget class="text" id="sect" font="title" alignment="centre" size="14" style="semi_bold" multiline="false" auto_size="vertical" wants_mouse_events="false" dont_give_default_focus="true" colour="secondary">
                    <record id="object_property">
                        <list id="get_properties">
                            <record>

 

Change the size value to your preference. 

 

 

If you are lacking this panel you will need to extract it using the resource archiver, guides in the sticky posts. 

Cheers man - do you know which archive/file I extract titlebar search panel from? I know how to extact - just no idea where this particular file is. Or what's the name of your skin n I could download that?

Link to post
Share on other sites

You need to extract the panels file using the resource archiver. Directory details are in the guide.

 

In terms of the tab bar, that's usually contained within the client object browser and is the sections menu strip part of code. You are then looking to add or edit a 'red_replacement' value and appearance value, to the primary colour within the widget line of code, i.e. appearance="boxes/bordered/solid/paper" & red_replacement="primary".

titlebar search panel.xml

Link to post
Share on other sites

Thankyou - I've found the sections menu strip in client objects browser, but all that is there is this:

<!-- actions and sections bar -->
                                <!-- please dont change the ID of this bar, if you really need to please notify Isaac as it will effect gamepad stuff :) -->
                                <container navigation_container="true" id="tBAR" >
                                    <layout class="stick_to_sides_attachment" alignment="all" apply_to_children="true" />
                                    <container class="sections_menu_strip" id="acse" />
                                </container>
 

There is no widget code or colour properties to edit. Do I just insert these lines? If so any idea what I should insert and where within this section of code?

Thankyou so much for your help!

Link to post
Share on other sites

It's the widget just above (in the default files)

<!-- coloured actions bar image -->
          <widget class="main_box" id="ACTb" appearance="boxes/custom/interface/tab bar/paper" red_replacement="primary"/>

 

I suspect the graphic it's pointing to is transparent which is why the appearance directory needs changing. 

 

Link to post
Share on other sites

I'm so sorry - trying to understand but it's just going over my head.

I've found that line as you say in the widget just above. But as per the line above it already says "red_replacement="primary" but the tab bar is showing up as transparent. I don't understand how i'd go about making it the team's primary colour if the line already says it should be the team's primary colour?

Link to post
Share on other sites

3 hours ago, Loda said:

I suspect the graphic it's pointing to is transparent which is why the appearance directory needs changing. 

 

3 hours ago, Loda said:

You are then looking to add or edit a 'red_replacement' value and appearance value, to the primary colour within the widget line of code, i.e. appearance="boxes/bordered/solid/paper" & red_replacement="primary".code.

The appearance needs changing, I've even given an example to copy and paste.

Please read my posts fully.

Link to post
Share on other sites

Sorry man - just seen your most recent post above. I am reading your posts in full. I genuinely just don't understand. This isn't my forte - it's just something I'm having a good go at. Thankyou for helping.

Are you saying add the following lines within client object browser.xml?

appearance="boxes/bordered/solid/paper"

red_replacement="primary"

Where within the file should I add those two lines?

Do I need to do anything else?

Apologies for my slowness.

Link to post
Share on other sites

Cheers. Following that directory path, how do I know which paper file relates to the one I want?

I followed the directory path for the actionbar/tabbar image in client browser .xml: boxes/interface/tab bar/paper and changed the xml paper file colour Id red etc replacements to be secondary, primary etc but saw no change in game.

Am I changing the wrong file?

Link to post
Share on other sites

  • 10 months later...

Hello!

Could someone give me a hand in making the "search bar text" not white?

I am able to change the colour of the title but when I click on the bar to search, the typing is white and when im with primary white team colours it is impossible to see anything.

Thank you in advance!

 

 

 

Edited by <<Macaco-RJ88>>
Link to post
Share on other sites

It should be controlled by the search box titlebar found in the panels\widgets folder if it's not present in your skin you'll find to extract the file from the panels fmf file and copy it across.

Locate the bit of code that looks like colour="XXX" and replace XXX with the colour you want to use.

Though by default it should be using the teams secondary (text) colours so if you want it back to default you should just be able to delete that file from your skin.

 

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
 Share

  • Recently Browsing   0 members

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