Jump to content

match stats floating panel headache


snowofman
 Share

Recommended Posts

Hey Guys

Hope someone can shead abit of light on this issue

i'm trying to pull the panel into another page and i get following data

Home

Statistic

away

and the customise button

all the data itself is hiding from me..

 

Does anyone have an idea to why that is ?

<panel>
	<layout class="arrange_vertical_attachment" layout="-1,30" offset="0" />
	<layout class="stick_to_sides_attachment" alignment="horizontal" inset="0" apply_to_children="true" />

	<boolean id="show_bars" value="false" />

	<widget class="table" id="mstn" layout="-1,-2,-1" mode="stripe_rows, printable" auto_size_rows="true" fixed_size_rows="false"  row_spacing="0">

		<list id="headings">
			<record alignment="left,centre_y" id="m_HH" font="title">
				<translation id="text" translation_id="242477" type="use" value="Home" />
			</record>
			<record alignment="centre" id="m_SH" font="title">
				<translation id="text" translation_id="247380" type="use" value="Statistic" />
			</record>
			<record alignment="right,centre_y" id="m_AH" font="title">
				<translation id="text" translation_id="242476" type="use" value="Away" />
			</record>
		</list>

		<list id="column_widget_properties">
			<record indx="0" alignment="left,centre_y" />
			<record indx="1" alignment="centre" />
			<record indx="2" alignment="right,centre_y" />
		</list>

		<list id="column_table_properties">
			<record indx="0" id="home" sort_disabled="true" left="4" />
			<record indx="1" id="labl" sort_disabled="true" />
			<record indx="2" id="away" sort_disabled="true" right="4" />
		</list>

	</widget>

	<container height="30">
		<layout class="arrange_horizontal_attachment" alignment="right" gap="0" offset="0" />
		<layout class="stick_to_sides_attachment" alignment="vertical" inset="0" apply_to_children="true" />
		
		<widget class="button" click_event="mcss" auto_size="horizontal">
			<translation id="text" translation_id="333760" type="use" value="Customise[COMMENT:Match screen; match stats panel; button text for customising visible match stats]" />
		</widget>
	</container>

</panel>

Default panel code added and this part

 

<list id="column_widget_properties">
			<record indx="0" alignment="left,centre_y" />
			<record indx="1" alignment="centre" />
			<record indx="2" alignment="right,centre_y" />
		</list>

		<list id="column_table_properties">
			<record indx="0" id="home" sort_disabled="true" left="4" />
			<record indx="1" id="labl" sort_disabled="true" />
			<record indx="2" id="away" sort_disabled="true" right="4" />
		</list>

thats the part it won't show for some reason :(

Link to post
Share on other sites

1 minute ago, bluestillidie00 said:

Have you got a 

<record id="object_property" get_property="objt" set_property="objt"/>

in the file where it's being called

yep

<widget class="match_stats_panel" id="mtst" file="match/match stats floating ftlist">
	<layout class="stick_to_sides_attachment" alignment="all" inset="0" apply_to_children="true" />
		<record id="object_property" get_property="objt" set_property="objt"/>
</widget>

 

Edited by snowofman
Link to post
Share on other sites

1 hour ago, snowofman said:

currently just placed at the top until i know if it works or not.

button works 

 

Uhh, I would hazard a guess and say its not possible. All the stuff there is pulled through fixture properties.xml.

 

You can try pull it through a match_overview_panel class but that'd be my only guess

Link to post
Share on other sites

23 minutes ago, bluestillidie00 said:

Uhh, I would hazard a guess and say its not possible. All the stuff there is pulled through fixture properties.xml.

 

You can try pull it through a match_overview_panel class but that'd be my only guess

Thanks, yeah, i had a feeling it was a long shot. But we gotta try those aswell :) 

Edit: No luck on that either, not even showing the heading when trying you suggestion, was a good call tho.

Edited by snowofman
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...