Jump to content

Changing a logo


el-chambo
 Share

Recommended Posts

Would someone be able to help with a small issue i am having.

I am looking to change the league logo to the national on the TCS club home page.

This is the code for that part.

<!-- LOGOS -->
        <container height="140">
            <layout class="stick_to_sides_attachment" alignment="all" inset="0" apply_to_children="true"/>
<!--     <widget class="stadium_picture"  id="STAp" image_alignment="top, centre_x" scale_picture="true" keep_aspect_ratio="true">
                <record id="object_property">
                    <integer id="get_property" value="objt" />
                    <integer id="set_property" value="objt" />
                </record>
            </widget> -->
            <container>
                <attachment_group class="horizontal_arrange" horizontal_alignment="fill" vertical_inset="4"/>

                <!-- TEAM LOGO -->
                <widget class="object_portrait_picture" id="pict" width="170" keep_aspect_ratio="true" scale_picture="true" image_alignment="centre">
                    <record id="object_property" get_property="objt" set_property="objt" />
                </widget>

                <!-- COMP LOGO -->
                <widget class="object_portrait_picture" id="lepi" width="170" keep_aspect_ratio="true" scale_picture="true" image_alignment="centre">
                    <record id="object_property" get_property="Cdiv" set_property="objt" />
                </widget>
            </container>
        </container>

I have tried to change the id and the get_property but it will not show.

Any help would be great thanks

 

20210122123014_1.jpg

Link to post
Share on other sites

<!-- Nation Flag -->
<widget class="object_portrait_picture" id="CnaG" height="10" >
 <boolean id="scale_picture" value="true"/>
 <boolean id="keep_aspect_ratio" value="true"/>
 <boolean id="keep_aspect_ratio" value="true"/>
 <flags id="image_alignment" value="centre" />
	<record id="object_property">
		<integer id="get_property" value="Cnat" />
		<integer id="set_property" value="objt" />
	</record>
</widget>

replace the comp logo widget with this.

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...