Jump to content

Going insane with city pics in "Stadium Overview Info Widget"


BuzzR
 Share

Recommended Posts

I am trying for some time to figure out the city pics .. and for the love of god, I cannot make them work as I want to.

I have a pack with city pictures that imports them like this :

<record from="club_id" to="graphics/pictures/club/club_id/background"/>

The moment I have the city pics folder into the graphics folder  - my backgrounds are changing... kind of expected, but unwanted ! Anyway this I can tick out with " allow display of custom background pictures" option.

So far so good, the pics are ok. 

But I want to show them as little pictures in my custom Stadium Overview Panel.xml via Stadium Overview Info Widget.xml

I am trying to use them like this :

<widget class="background" file="backgrounds" id="bgnd">
					<layout class="stick_to_sides_attachment" alignment="top" inset="0" />
					<layout class="stick_to_sides_attachment" alignment="horizontal" inset="0" />
					<layout class="stick_to_sides_attachment" alignment="left" offset="0" gap="0" />
						<record id="object_property">
							<integer id="get_property" value="bgnd" />
							<integer id="set_property" value="file" />
						</record>
</widget>

 I do believe I should reference them some other way but everything is so confusing.. Every skin is handling backgrounds a little bit differently and I am tired of  "try and fail" .

Thanks in advance for any help.

 

Screenshot 2021-09-24 151916.png

stadium overview info widget.xml stadium overview panel.xml

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