Jump to content

[FM17] How to Get Comp Logo on Titlebar


KennedyBakircioglu

Recommended Posts

Hi,

I've managed to tinker with the titlebar but what I would really appreciate help with would be to know if instead of having the club logo twice I can instead have the competition logo on the right? So club logo on the left side and competition on the right? is that possible?

 

 

Screen Shot 2016-11-09 at 15.05.44.png

Link to post
Share on other sites

In the code that you have added for the second logo locate these lines:

<widget class="picture" id="lgtF" scale_picture="true" keep_aspect_ratio="true" image_alignment="centre">

<integer id="get_property" value="mnpc" />

Change the id in the first line to rgtF and change the value in the second to read scpc.

Link to post
Share on other sites

<widget class="picture" id="rgtF" scale_picture="true" width="200" height="200" transparency="0.3" image_alignment="centre">
            <layout class="centre_in_parent_attachment" alignment="vertical" inset="0"/>

            <attachment class="test_setting_attachment" get_setting="show_badges" default_value="true" set_property="hidn">
                <boolean id="value" value="false"/>
            </attachment>

            <record id="object_property">
                <integer id="get_property" value="scpc" />

 

Still have logo twice

Link to post
Share on other sites

8 minutes ago, D_LO_ said:

You seem to be changing a fairly large, for the area, transparent version of the logo. Are you aware of this?

There's nothing wrong with Michael's advice (see below) Probably easier to give examples...

If you want a normal competition logo something like: (example in my pic)


 <container width="60">
	    <layout class="arrange_horizontal_attachment" layout="-1" gap="0" inset="0"/>
		
        <widget class="picture" id="lgtG" image_alignment="centre" scale_picture="true" keep_aspect_ratio="true" priority="1">
					<layout class="stick_to_sides_attachment" alignment="all" inset="0"/>

          <attachment class="test_setting_attachment" get_setting="show_badges" default_value="true" set_property="hidn">
            <list id="value">
              <boolean value="false" />
            </list>
          </attachment>
		  
					<record id="object_property">
            <integer id="get_property" value="mnpc" />
            <integer id="set_property" value="file" />
          </record>
			</widget>
	  </container>

If in fact you want a larger transparent background logo: (example in my pic)


<!-- Right Side Logo -->
-<widget class="picture" id="rgtB" file="pictures/logos/background/default/left" auto_size="all" transparency="0.2">
<layout inset="-1150" alignment="right" class="stick_to_sides_attachment"/>
<layout inset="-60" alignment="vertical" class="stick_to_sides_attachment"/>
-<record id="object_property">
<integer value="scpc" id="get_property"/>
<integer value="file" id="set_property"/>
</record>
</widget>

Or if you want a format similar to Kennedy his looks an awful lot like wannabrewchup's skin so you could obtain the panel from there and make Michael's changes and you'll have something very similar to the picture above.

NB: if you use my examples please be aware you may need to edit the insets and placement within the code is important too for location within the titlebar. 

Untitled.png

I just changed the lines Michael told, nothing more.

I will try your example, thank you :thup:

Link to post
Share on other sites

  • 1 year later...

Archived

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

  • Recently Browsing   0 members

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