Jump to content

Help Me Remove Some White Text


GIMN
 Share

Recommended Posts

Howdy!

Would anyone be able to help with how to change some instances of white text.

Inbox Content with Physio Update Panel

This appears to be a table which returns a person_button in the first column.  I've been unable to manipulate it through properties in the xml itself, nor find which type of person_button it's looking up to change it there.  If anyone can point me in the right direction, that would be marvelous!  Screenshot and code attached in spoilers.

Spoiler

image.thumb.png.4ebe671c4458e2c07d253a6003ee0234.png

Code

<widget class="table" id="InjT" layout="-2, -3, -1, -2" mode="fill_rows, stripe_rows" all_content_same_height="false" auto_size="vertical" auto_size_rows="true" fixed_size_rows="false" row_spacing="0" save_session_state="true" sort_disabled="true">
  <list id="headings">
    <record index="0">
      <translation id="text" translation_id="227966" type="use" value="Player"/>
    </record>
    <record index="1">
      <translation id="text" translation_id="247523" type="use" value="Injury[COMMENT: Player Injury name, table header]"/>
    </record>
    <record index="2">
      <translation id="text" translation_id="447652" type="use" value="Treatment[COMMENT: FR 20159; player injury table; treatment type player is receiving column header]"/>
    </record>
    <record index="3">
      <translation id="text" translation_id="450765" type="use" value="Out For[COMMENT: FR 20159; team injuries overview panel; table column header indicating how long a player will be injured for]"/>
    </record>
  </list>

  <list id="column_table_properties">
    <record indx="0" alignment="left,centre_y" auto_hide_priority="1" minimum_width="140">
      <boolean id="sort_ascending" value="true"/>
    </record>
    <record indx="1" alignment="left,centre_y" auto_hide_priority="1" minimum_width="140">
      <boolean id="sort_ascending" value="false"/>
    </record>
    <record indx="2" alignment="left,centre_y" auto_hide_priority="1" minimum_width="140">
      <boolean id="sort_ascending" value="false"/>
    </record>
    <record indx="3" alignment="left,centre_y" auto_hide_priority="1" minimum_width="140">
      <boolean id="sort_ascending" value="false"/>
    </record>
  </list>

  <list id="sort">
    <integer value="0"/>
  </list>
</widget>


Fixture Details

This similarly is a table that I've been unable to manipulate.  I'm pretty certain this one's a lot easier/more obvious, but I'm just being an idiot.  Either way, reference attached in spoiler again.

Spoiler

image.thumb.png.08b53266f4bd165d392511523f727cbd.png

<!--line up-->
<widget class="fixture_lineup_table" id="FxCL" auto_size="vertical">
  	<record id="GoaI" file="icons/16px/goal"/>
  	<record id="OwnI" file="icons/16px/own goal"/>
  	<record id="object_property" get_property="FxCL" />
</widget>


Thank you all in advance!

Link to post
Share on other sites

8 hours ago, GIMN said:

Howdy!

Would anyone be able to help with how to change some instances of white text.

Inbox Content with Physio Update Panel

This appears to be a table which returns a person_button in the first column.  I've been unable to manipulate it through properties in the xml itself, nor find which type of person_button it's looking up to change it there.  If anyone can point me in the right direction, that would be marvelous!  Screenshot and code attached in spoilers.

  Hide contents

 

Code

<widget class="table" id="InjT" layout="-2, -3, -1, -2" mode="fill_rows, stripe_rows" all_content_same_height="false" auto_size="vertical" auto_size_rows="true" fixed_size_rows="false" row_spacing="0" save_session_state="true" sort_disabled="true">
  <list id="headings">
    <record index="0">
      <translation id="text" translation_id="227966" type="use" value="Player"/>
    </record>
    <record index="1">
      <translation id="text" translation_id="247523" type="use" value="Injury[COMMENT: Player Injury name, table header]"/>
    </record>
    <record index="2">
      <translation id="text" translation_id="447652" type="use" value="Treatment[COMMENT: FR 20159; player injury table; treatment type player is receiving column header]"/>
    </record>
    <record index="3">
      <translation id="text" translation_id="450765" type="use" value="Out For[COMMENT: FR 20159; team injuries overview panel; table column header indicating how long a player will be injured for]"/>
    </record>
  </list>

  <list id="column_table_properties">
    <record indx="0" alignment="left,centre_y" auto_hide_priority="1" minimum_width="140">
      <boolean id="sort_ascending" value="true"/>
    </record>
    <record indx="1" alignment="left,centre_y" auto_hide_priority="1" minimum_width="140">
      <boolean id="sort_ascending" value="false"/>
    </record>
    <record indx="2" alignment="left,centre_y" auto_hide_priority="1" minimum_width="140">
      <boolean id="sort_ascending" value="false"/>
    </record>
    <record indx="3" alignment="left,centre_y" auto_hide_priority="1" minimum_width="140">
      <boolean id="sort_ascending" value="false"/>
    </record>
  </list>

  <list id="sort">
    <integer value="0"/>
  </list>
</widget>

 

Fixture Details

This similarly is a table that I've been unable to manipulate.  I'm pretty certain this one's a lot easier/more obvious, but I'm just being an idiot.  Either way, reference attached in spoiler again.

  Hide contents

 

<!--line up-->
<widget class="fixture_lineup_table" id="FxCL" auto_size="vertical">
  	<record id="GoaI" file="icons/16px/goal"/>
  	<record id="OwnI" file="icons/16px/own goal"/>
  	<record id="object_property" get_property="FxCL" />
</widget>

 

Thank you all in advance!

it's elementary
 

		<widget class="table" id="InjT" layout="-2, -3, -1, -2" mode="fill_rows, stripe_rows" all_content_same_height="false" auto_size="vertical" auto_size_rows="true" fixed_size_rows="false" row_spacing="0" save_session_state="true" colour="text">
			<list id="headings">
				<record index="0">
					<translation id="text" translation_id="227966" type="use" value="Player"/>
				</record>
				<record index="1">
					<translation id="text" translation_id="247523" type="use" value="Injury[COMMENT: Player Injury name, table header]"/>
				</record>
				<record index="2">
					<translation id="text" translation_id="447652" type="use" value="Treatment[COMMENT: FR 20159; player injury table; treatment type player is receiving column header]"/>
				</record>
				<record index="3">
					<translation id="text" translation_id="450765" type="use" value="Out For[COMMENT: FR 20159; team injuries overview panel; table column header indicating how long a player will be injured for]"/>
				</record>
			</list>

			<list id="column_table_properties">
				<record indx="0" alignment="left,centre_y" auto_hide_priority="1" minimum_width="140">
					<boolean id="sort_ascending" value="true"/>
				</record>
				<record indx="1" alignment="left,centre_y" auto_hide_priority="1" minimum_width="140">
					<boolean id="sort_ascending" value="false"/>
				</record>
				<record indx="2" alignment="left,centre_y" auto_hide_priority="1" minimum_width="140">
					<boolean id="sort_ascending" value="false"/>
				</record>
				<record indx="3" alignment="left,centre_y" auto_hide_priority="1" minimum_width="140">
					<boolean id="sort_ascending" value="false"/>
				</record>
			</list>

			<list id="sort">
				<integer value="0"/>
			</list>
		</widget>
                    <!--line up-->
                            <widget class="fixture_lineup_table" id="FxCL" auto_size="vertical" colour="text">
                                <record id="GoaI" file="icons/16px/goal"/>
                                <record id="OwnI" file="icons/16px/own goal"/>
                                <record id="object_property" get_property="FxCL" />
                                <list id="column_widget_properties">
                                <record indx="0" colour="text" />
                                </list>
                            </widget>

 

I have much more interesting options for white text

Spoiler

37060966_2022-10-3012_45_51-Window.png.3bc1e2999263004a84b689c83d878391.png388259629_2022-10-3012_46_33-Window.png.32635e0e6439df13782dc9f7796eb995.png486246825_2022-10-3012_46_51-Window.png.7a5cf2119614541ace16c29342a527de.png

 

Link to post
Share on other sites

Cheers, worked a treat on the fixtures detail panel.  Knew I was missing something reasonably straightforward.  Unfortunately no luck on the physio update panel.  Your queries:

World Knowledge

56 minutes ago, Olas Nick said:

37060966_2022-10-3012_45_51-Window.png.3bc1e2999263004a84b689c83d878391.png

club/club knowledge, roughly lines 139-173

				<!--knowledge table-->
				<container class="main_box">
					<layout class="stick_to_sides_attachment" alignment="all" inset="0" apply_to_children="true" />

					<widget class="table" mode="fill_rows, stripe_rows, select_rows" id="ktbl" layout="30,-3,-2" auto_size_rows="true" fixed_size_rows="false" select_event="ZOM!" navigation_container="false" navigation_container_allow_empty="true">

						<!--default sorting by the knowledge column-->
						<integer id="default_sort_column" value="2" />

						<list id="headings">
							<record />
							<record alignment="left,centre_y">
								<translation id="text" translation_id="296523" type="use" value="Region[COMMENT: team screen; title of panel showing scouting knowledge]" />
							</record>
							<record alignment="left,centre_y">
								<translation id="text" translation_id="251861" type="use" value="Knowledge[COMMENT: non player profile panel; title of panel showing scouting knowledge]" />
							</record>
						</list>

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

						<list id="column_table_properties">
							<record indx="0" top="6" bottom="6">
								<boolean id="sort_disabled" value="true" />
								<record id="widget_info" class="picture" file="icons/26px/search" red_replacement="fg" scale_picture="false" />
							</record>
							<record indx="1" top="6" bottom="6" />
							<record indx="2" top="6" bottom="6" sort_ascending="false" />
						</list>
					</widget>
				</container>

Player Briefing Reaction

1 hour ago, Olas Nick said:

486246825_2022-10-3012_46_51-Window.png.7a5cf2119614541ace16c29342a527de.png

widgets/pre match topic reaction widget, lines 24-38:

				<widget class="info_icon_hint_text" icon_alignment="centre" widget_type="property_list_viewer_xml_panel" multiline="true" auto_size="vertical" colour="text">
					<record id="object_property">
						<list id="get_properties">
							<record>
								<integer id="get_property" value="valu" />
								<integer id="set_property" value="valu" />
							</record>
							<record>
								<integer id="get_property" value="inhi" />
								<integer id="set_property" value="inhi" />
							</record>
						</list>
					</record>

				</widget>

And then if you need to change the text in the pop-up for that same area, it's widgets/pre match topic reaction hint widget, lines 4-6:

	<widget class="person_button" colour="text">
		<record id="object_property" get_property="Pers" set_property="valu"/>
	</widget>

Club Vision

1 hour ago, Olas Nick said:

388259629_2022-10-3012_46_33-Window.png.32635e0e6439df13782dc9f7796eb995.png

I haven't had any joy on this one, yet.  I'll let you know if that changes, but if you make the breakthrough first please let me know!

Link to post
Share on other sites

18 minutes ago, GIMN said:

club/club knowledge, roughly lines 139-173

strange...it didn't work yesterday. maybe I edited this file in another directory :D

 

22 minutes ago, GIMN said:

Unfortunately no luck on the physio update panel.

I'll check, I don't have any injured now, but it worked in fm22

Link to post
Share on other sites

5 minutes ago, Olas Nick said:

strange...it didn't work yesterday. maybe I edited this file in another directory :D

I've lost count the amount of times I accidentally edited the file in the FM23 extraction instead of in my skin folder!!!!

Link to post
Share on other sites

1 hour ago, PequenoGenio said:

Sorry for the "wrong post" but where can i find that Wold Knowledge screen?

If you mean which xml, it's club/club knowledge

If you mean where is it in game, Scouting -> Scouting Coverage -> Scouting Assignments - there's then some buttons to choose between Scouts and World Knowledge.

Link to post
Share on other sites

2 hours ago, GIMN said:

Unfortunately no luck on the physio update panel.

it's player/player details panel small squad status.xml

			<!-- Person name -->
			<widget class="person_button" alignment="left,centre_y" style="semi_bold" info_popup_enabled="true" info_popup_alignment="left,centre_y" icon_enabled="true" person_is_player="true" auto_size="vertical" colour="black">
				<record id="object_property" get_property="Pcjo" set_property="Pcjo"/>
				<record id="object_property" get_property="objt" set_property="valu"/>
			</widget>

 

Link to post
Share on other sites

43 minutes ago, Olas Nick said:

it's player/player details panel small squad status.xml

			<!-- Person name -->
			<widget class="person_button" alignment="left,centre_y" style="semi_bold" info_popup_enabled="true" info_popup_alignment="left,centre_y" icon_enabled="true" person_is_player="true" auto_size="vertical" colour="black">
				<record id="object_property" get_property="Pcjo" set_property="Pcjo"/>
				<record id="object_property" get_property="objt" set_property="valu"/>
			</widget>

 

Amazing stuff - that's done the trick.  You're an absolute star!

Unfortunately that now means I'm gonna ask you for another.  The Notable Events part of Match Stats:

image.png.37d8df348761312956862a78f307f305.png

Any idea what controls the individual event items?  Ideally I want to change both elements, but at the very least the assist name being darker.

Link to post
Share on other sites

17 hours ago, GIMN said:

Any idea what controls the individual event items?  Ideally I want to change both elements, but at the very least the assist name being darker.

I did not notice this bug.
I know that the color of the player with a yellow or red card is taken from settings/settings.xml

Link to post
Share on other sites

4 hours ago, Olas Nick said:

I did not notice this bug.
I know that the color of the player with a yellow or red card is taken from settings/settings.xml

Yeah, that's as far as I got, too.  I haven't even got close to identifying what might control it.  I've searched for instances of colour="faded white" (confirmed by changing faded white in settings), and style="bold" as that is how the goalscorer is displayed to see if I could find xmls with two person names referenced - and I've checked every file regardless of if it sounds relevant or not.  I think I'm going to either have to accept it, or think about recolouring the match notable events panel.

Link to post
Share on other sites

solutions from last year's michaeltmurrayuk fm22 base light:


match notable events panel.xml

			<!-- custom font added to recolour events though now all one colour -->
			<list id="column_widget_properties">
				<record index="0" spec="text" font="notable_events" alignment="right,centre_y" navigation_focus_target="false" />
				<record index="1" icon_alignment="centre" navigation_focus_target="false" />
				<record index="2" spec="text" style="bold" alignment="centre" navigation_focus_target="false" />
				<record index="3" icon_alignment="centre" navigation_focus_target="false" />
				<record index="4" spec="text" font="notable_events" alignment="left,centre_y" navigation_focus_target="false" />
			</list>

notable_events.fontxml

<record>
<!-- custom font for the notable events text as values are hardcoded, gradient overrides default colours, alpha allows some colour through -->

	<string id="file_name" value="text.fontxml"/>


	<integer id="gradient_upper_margin" value="20"/>
	<integer id="gradient_lower_margin" value="0"/>
	<integer id="gradient_curve" value="0"/>

	<integer id="gradient_upper_colour_red" value="3"/>
	<integer id="gradient_upper_colour_green" value="3"/>
	<integer id="gradient_upper_colour_blue" value="3"/>
	<integer id="gradient_upper_colour_alpha" value="200"/>
	
	<integer id="gradient_lower_colour_red" value="4"/>
	<integer id="gradient_lower_colour_green" value="4"/>
	<integer id="gradient_lower_colour_blue" value="4"/>
	<integer id="gradient_lower_colour_alpha" value="200"/>
	
</record>


 

Link to post
Share on other sites

4 hours ago, Olas Nick said:

solutions from last year's michaeltmurrayuk fm22 base light:


match notable events panel.xml

			<!-- custom font added to recolour events though now all one colour -->
			<list id="column_widget_properties">
				<record index="0" spec="text" font="notable_events" alignment="right,centre_y" navigation_focus_target="false" />
				<record index="1" icon_alignment="centre" navigation_focus_target="false" />
				<record index="2" spec="text" style="bold" alignment="centre" navigation_focus_target="false" />
				<record index="3" icon_alignment="centre" navigation_focus_target="false" />
				<record index="4" spec="text" font="notable_events" alignment="left,centre_y" navigation_focus_target="false" />
			</list>

notable_events.fontxml

<record>
<!-- custom font for the notable events text as values are hardcoded, gradient overrides default colours, alpha allows some colour through -->

	<string id="file_name" value="text.fontxml"/>


	<integer id="gradient_upper_margin" value="20"/>
	<integer id="gradient_lower_margin" value="0"/>
	<integer id="gradient_curve" value="0"/>

	<integer id="gradient_upper_colour_red" value="3"/>
	<integer id="gradient_upper_colour_green" value="3"/>
	<integer id="gradient_upper_colour_blue" value="3"/>
	<integer id="gradient_upper_colour_alpha" value="200"/>
	
	<integer id="gradient_lower_colour_red" value="4"/>
	<integer id="gradient_lower_colour_green" value="4"/>
	<integer id="gradient_lower_colour_blue" value="4"/>
	<integer id="gradient_lower_colour_alpha" value="200"/>
	
</record>


 

Oh, that's a great workaround.  I'd prefer the text all the same, too - I think the red card/yellow card/injury icon is more than sufficient to communicate what's happened, and it means when defining yellow card in the settings I only need to consider how it appears on the formation widget.

Link to post
Share on other sites

1 hour ago, dandy_bandidos said:

Hello,
since you are talking about this, I take the opportunity to ask.

Could you tell me where I change the color of the text that is displayed in the sidebar menu?

b476809832d6d6ee7d6f6eee9703543c.png490060f471a1029867a93464aebf6030.png

For the highlighted text: generic/sidebar menu panel, line 4:

<symbol id="sidebar_secondary_colour" value="bg"/>

For the regular text, generic/sidebar menu panel, line 34:

<record id="column_widget_properties" alignment="left,centre_y" colour="bg"  size="normal">

 

Link to post
Share on other sites

hace 55 minutos, GIMN dijo:

For the highlighted text: generic/sidebar menu panel, line 4:

<symbol id="sidebar_secondary_colour" value="bg"/>

For the regular text, generic/sidebar menu panel, line 34:

<record id="column_widget_properties" alignment="left,centre_y" colour="bg"  size="normal">

 

Thanks for answering 
I'm testing, it doesn't look good for clubs with white primary color.
Is it possible to select the secondary color of the club as the sidebar text color?

 

Link to post
Share on other sites

Yeah, just use colour="secondary"

Sorry, I should've been clearer in the earlier post.  I just copied the code I use, you want to define the colour value as to whatever you feel is appropriate.

Link to post
Share on other sites

hace 6 minutos, GIMN dijo:

Yeah, just use colour="secondary"

Sorry, I should've been clearer in the earlier post.  I just copied the code I use, you want to define the colour value as to whatever you feel is appropriate.

Perfect, thank you very much, I was able to edit it.

Link to post
Share on other sites

On 30/10/2022 at 13:58, GIMN said:

I haven't had any joy on this one, yet.  I'll let you know if that changes, but if you make the breakthrough first please let me know!

I used the same trick as for the match events notable panel.xml
In the club vision objective list panel.xml file, replaced font="title" with font="notable_events"
1904678245_2022-11-0118_04_35-Window.png.18750d56dd264714da245d81346c9700.png

Link to post
Share on other sites

4 hours ago, Olas Nick said:

I used the same trick as for the match events notable panel.xml
In the club vision objective list panel.xml file, replaced font="title" with font="notable_events"
1904678245_2022-11-0118_04_35-Window.png.18750d56dd264714da245d81346c9700.png

I think the notable_events trick is going to be a crutch for everything I've been unable to work out!!

Link to post
Share on other sites

@Olas Nick

image.thumb.png.605e8db6e462242b2bd78607cec30ef3.png

Add the following to finaces club fines summary panel, after the headings list, around line 136 (I can't remember what changes I've made to the panel, so it might not be that exact line on your one) 

<list id="column_widget_properties">
  <record indx="0" text_colour="fg"/>			
</list>

 

Link to post
Share on other sites

5 hours ago, PequenoGenio said:

Hi.

 

And here how to do it?
spacer.png

There's a table in the panel - you'll need to add colour="text" to each row in the widget properties from what I recall.

Link to post
Share on other sites

17 horas atrás, GIMN disse:

There's a table in the panel - you'll need to add colour="text" to each row in the widget properties from what I recall.

Here?

In the player positions indicator small horizontal panel?

<panel save_session_state="true">

	<layout class="stick_to_sides_attachment" alignment="all" apply_to_children="true" inset="0" />

	<container>

	<record id="mask" alignment="vertical, left" top="0" bottom="-110" width="200" file="backgrounds/pattern" offset_x="-300" offset_y="50"/>

		<layout class="arrange_vertical_attachment" alignment="top,extend" offset="0" gap="8" />
		<layout class="stick_to_sides_attachment" alignment="horizontal" apply_to_children="true" inset="0" />

		<container>
			<layout class="fit_children_attachment" alignment="vertical" offset="0" gap="0" />
			<layout class="stick_to_sides_attachment" alignment="top" apply_to_children="true" inset="0" />

			<string id="skin_style" value="title link" />

			<!-- Header -->
			<widget class="link_button" section="Ptac" auto_size="all">
				<layout class="stick_to_sides_attachment" alignment="left" inset="0" />
				<layout class="stick_to_sides_attachment" alignment="top" inset="5" />
				<translation id="text" translation_id="230082" type="use" value="Positions" />
			</widget>
			<!-- Popup menu for highlighting attributes -->
			<widget class="popup_table_button" appearance="buttons/subtle/normal/button" id="hipo" item_file="tactics/positions indicator highlight menu" fixed="true" select_event="high" auto_size="all">
				<layout class="stick_to_sides_attachment" alignment="right" inset="0" />

				<translation id="text" translation_id="383368" type="use" value="Highlight[COMMENT: FR 10661; player overview positions panel; label for popup button displaying position highlighting options]" />
			</widget>
		</container>

		<!-- Pitch -->
		<widget class="pitch_with_player_positions" id="ppip" height="120" vertical="false" pitch_alignment="centre,can_scale" pitch_draw_goals="false" pitch_draw_markings="false" show_position_strength="false" hide_player_positions="true" pitch_show_names="false" pitch_show_names_as_hint="true" pitch_draw_grass="true" pitch_line_colour="text" pitch_touchline_width_percentage="1" pitch_override_icon_size="2" line_width="1.4">

			<!-- Set the icon to use for people on the pitch. The icon will first look for a size that matches the pitch's size, for instance 'pitch/icons/kit/tiny/kit' or 'pitch/icons/kit/medium/kit'.
          If an icon for the size category is not found it will try the base path: pitch/icons/kit/kit. This means that if you want to use an icon on a pitch that will only ever be one size you 
          can just provide the base and not worry about the tiny/small/medium/large size categories -->
			<string id="pitch_kit_icon" value="pitch/icons/dots" />
		</widget>

		<!-- Position label-->
		<widget class="text" id="posT" alignment="centre" auto_size="vertical" colour="accent" />

		<container height="30">
            		<attachment_group class="horizontal_arrange" horizontal_alignment="fill" horizontal_gap="6	" vertical_inset="0" />
            		<container class="horizontal_adaptive_container" layout="-1,25" inset="0" offset="0" gap="6">

               			 <container class="vertical_adaptive_container" layout="12,18" inset="0" offset="0" gap="0">

                    <widget class="label"  colour="green 500" font="label" alignment="right,can_scale">
                        <translation id="text" translation_id="230000" type="use" value="Left Foot" />
                    </widget>

                    <widget class="footedness_label" alignment="right,can_scale" format="[%string#1]">
                        <record id="object_property">
                            <integer id="get_property" value="Plft" />
                        </record>
                    </widget>
                </container>

                <widget class="picture" file="icons/custom/footed/left" image_alignment="centre" scale_picture="true"/>
            </container>

            <container class="horizontal_adaptive_container" layout="25,-1" inset="0" offset="0" gap="6">

                <widget class="picture" file="icons/custom/footed/right" image_alignment="centre" scale_picture="true"/>

                <container class="vertical_adaptive_container" layout="12,18" inset="0" offset="0" gap="0">
                    <widget class="label" colour="red 500" font="label" alignment="left,can_scale">
                        <translation id="text" translation_id="230001" type="use" value="Right Foot" />
                    </widget>

                    <widget class="footedness_label" alignment="left,can_scale" format="[%string#1]">
                        <record id="object_property">
                            <integer id="get_property" value="Prft" />
                        </record>
                    </widget>

                </container>
            </container>
        </container>


		<!-- Label -->
		<widget id="r+dl" class="text" font="title" auto_size="vertical" colour="">
			<translation id="text" translation_id="363721" type="use" value="Role and Duty[COMMENT: FR 8989 - title for a panel allowing choosing of the role and duty for a player]" />
		</widget>

		<container>
			<layout class="stick_to_sides_attachment" alignment="all" apply_to_children="true" inset="0" />

			<!-- Info labels for when the data isn't available-->
			<container id="inFC">
				<layout class="arrange_vertical_attachment" alignment="top" offset="0" gap="4" />

				<widget class="text" id="nrLb" auto_size="vertical" hidden="true">
					<layout class="stick_to_sides_attachment" alignment="horizontal" inset="0" />
					<translation id="text" translation_id="383562" type="use" value="No suitable best roles for this position[COMMENT: FR 10661; player overview positions indicator; string displayed when the player is not good enough in a position to have a 'best role' for it]" />
				</widget>
				<widget class="text" id="arbs" auto_size="vertical" hidden="true">
					<layout class="stick_to_sides_attachment" alignment="horizontal" inset="0" />
					<translation id="text" translation_id="447600" type="use" value="This player is being scouted by [%person#1] and the report will be available shortly.[COMMENT:scout report, scouting in progress]" />
				</widget>
				<widget class="text" id="pool" auto_size="vertical" hidden="true">
				  <layout class="stick_to_sides_attachment" alignment="horizontal" inset="0" />
				  <translation id="text" translation_id="342085" type="use" value="Scouting In Progress[COMMENT: disabled menu item when a player is already being scouted]" />
				</widget>
				<widget class="button" id="scPb" click_event="sctc" auto_size="all" height="30" hidden="true">
					<translation id="text" translation_id="243421" type="use" value="Scout Player" />
					<layout class="centre_in_parent_attachment" alignment="horizontal" />
				</widget>
			</container>

			<!-- Best roles for selected position -->
			<widget class="table" id="Rcon" layout="80, 18, -1, 100" auto_size_rows="false" row_height="28" row_spacing="2" column_spacing="4" mode="select_rows" select_event="sdst" sort_disabled="true">
				<translation id="hint" translation_id="330016" type="use" value="Highlight key attributes for role[COMMENT: option allowing for viewing the key attributes needed to play in a certain role]" />
                <global id="override_select_row_flags" name="platform_is_stadia"/>

				<record id="default_properties">
					<translation id="hint" translation_id="330016" type="use" value="Highlight key attributes for role[COMMENT: option allowing for viewing the key attributes needed to play in a certain role]" />
				</record>
				
				<list id="column_widget_properties">
				<record index="1" navigation_focus_target="true" />
				<record index="2" navigation_focus_target="true" />
				</list>

				<widget class="stars_range_strip" id="roS1" row="0" col="0" image_alignment="centre" />
				<widget class="info_icon_hint_text" id="hnt1" row="0" col="1" />
				<widget class="popup_button" id="dut1" row="0" col="2" appearance="" column_span="2" />

				<widget class="stars_range_strip" id="roS2" row="1" col="0" image_alignment="centre" />
				<widget class="info_icon_hint_text" id="hnt2" row="1" col="1" />
				<widget class="popup_button" id="dut2" row="1" col="2" appearance="" column_span="2"/>

				<widget class="stars_range_strip" id="roS3" row="2" col="0" image_alignment="centre" />
				<widget class="info_icon_hint_text" id="hnt3" row="2" col="1" />
				<widget class="popup_button" id="dut3" row="2" col="2" appearance="" column_span="2"/>

				<widget class="stars_range_strip" id="roS4" row="3" col="0" image_alignment="centre" />
				<widget class="info_icon_hint_text" id="hnt4" row="3" col="1" />
				<widget class="popup_button" id="dut4" row="3" col="2" appearance="" column_span="2"/>

				<widget class="stars_range_strip" id="roS5" row="4" col="0" image_alignment="centre" />
				<widget class="info_icon_hint_text" id="hnt5" row="4" col="1" />
				<widget class="popup_button" id="dut5" row="4" col="2" appearance="" column_span="2"/>

				<widget class="stars_range_strip" id="roS6" row="5" col="0" image_alignment="centre" />
				<widget class="info_icon_hint_text" id="hnt6" row="5" col="1" />
				<widget class="popup_button" id="dut6" row="5" col="2" appearance="" column_span="2"/>

				<widget class="stars_range_strip" id="roS7" row="6" col="0" image_alignment="centre" />
				<widget class="info_icon_hint_text" id="hnt7" row="6" col="1" />
				<widget class="popup_button" id="dut7" row="6" col="2" appearance="" column_span="2"/>

				<widget class="stars_range_strip" id="roS8" row="7" col="0" image_alignment="centre" />
				<widget class="info_icon_hint_text" id="hnt8" row="7" col="1" />
				<widget class="popup_button" id="dut8" row="7" col="2" appearance="" column_span="2"/>
			</widget>

		</container>
	</container>
</panel>

 

Link to post
Share on other sites

52 minutes ago, PequenoGenio said:

Here?

In the player positions indicator small horizontal panel?

<panel save_session_state="true">

	<layout class="stick_to_sides_attachment" alignment="all" apply_to_children="true" inset="0" />

	<container>

	<record id="mask" alignment="vertical, left" top="0" bottom="-110" width="200" file="backgrounds/pattern" offset_x="-300" offset_y="50"/>

		<layout class="arrange_vertical_attachment" alignment="top,extend" offset="0" gap="8" />
		<layout class="stick_to_sides_attachment" alignment="horizontal" apply_to_children="true" inset="0" />

		<container>
			<layout class="fit_children_attachment" alignment="vertical" offset="0" gap="0" />
			<layout class="stick_to_sides_attachment" alignment="top" apply_to_children="true" inset="0" />

			<string id="skin_style" value="title link" />

			<!-- Header -->
			<widget class="link_button" section="Ptac" auto_size="all">
				<layout class="stick_to_sides_attachment" alignment="left" inset="0" />
				<layout class="stick_to_sides_attachment" alignment="top" inset="5" />
				<translation id="text" translation_id="230082" type="use" value="Positions" />
			</widget>
			<!-- Popup menu for highlighting attributes -->
			<widget class="popup_table_button" appearance="buttons/subtle/normal/button" id="hipo" item_file="tactics/positions indicator highlight menu" fixed="true" select_event="high" auto_size="all">
				<layout class="stick_to_sides_attachment" alignment="right" inset="0" />

				<translation id="text" translation_id="383368" type="use" value="Highlight[COMMENT: FR 10661; player overview positions panel; label for popup button displaying position highlighting options]" />
			</widget>
		</container>

		<!-- Pitch -->
		<widget class="pitch_with_player_positions" id="ppip" height="120" vertical="false" pitch_alignment="centre,can_scale" pitch_draw_goals="false" pitch_draw_markings="false" show_position_strength="false" hide_player_positions="true" pitch_show_names="false" pitch_show_names_as_hint="true" pitch_draw_grass="true" pitch_line_colour="text" pitch_touchline_width_percentage="1" pitch_override_icon_size="2" line_width="1.4">

			<!-- Set the icon to use for people on the pitch. The icon will first look for a size that matches the pitch's size, for instance 'pitch/icons/kit/tiny/kit' or 'pitch/icons/kit/medium/kit'.
          If an icon for the size category is not found it will try the base path: pitch/icons/kit/kit. This means that if you want to use an icon on a pitch that will only ever be one size you 
          can just provide the base and not worry about the tiny/small/medium/large size categories -->
			<string id="pitch_kit_icon" value="pitch/icons/dots" />
		</widget>

		<!-- Position label-->
		<widget class="text" id="posT" alignment="centre" auto_size="vertical" colour="accent" />

		<container height="30">
            		<attachment_group class="horizontal_arrange" horizontal_alignment="fill" horizontal_gap="6	" vertical_inset="0" />
            		<container class="horizontal_adaptive_container" layout="-1,25" inset="0" offset="0" gap="6">

               			 <container class="vertical_adaptive_container" layout="12,18" inset="0" offset="0" gap="0">

                    <widget class="label"  colour="green 500" font="label" alignment="right,can_scale">
                        <translation id="text" translation_id="230000" type="use" value="Left Foot" />
                    </widget>

                    <widget class="footedness_label" alignment="right,can_scale" format="[%string#1]">
                        <record id="object_property">
                            <integer id="get_property" value="Plft" />
                        </record>
                    </widget>
                </container>

                <widget class="picture" file="icons/custom/footed/left" image_alignment="centre" scale_picture="true"/>
            </container>

            <container class="horizontal_adaptive_container" layout="25,-1" inset="0" offset="0" gap="6">

                <widget class="picture" file="icons/custom/footed/right" image_alignment="centre" scale_picture="true"/>

                <container class="vertical_adaptive_container" layout="12,18" inset="0" offset="0" gap="0">
                    <widget class="label" colour="red 500" font="label" alignment="left,can_scale">
                        <translation id="text" translation_id="230001" type="use" value="Right Foot" />
                    </widget>

                    <widget class="footedness_label" alignment="left,can_scale" format="[%string#1]">
                        <record id="object_property">
                            <integer id="get_property" value="Prft" />
                        </record>
                    </widget>

                </container>
            </container>
        </container>


		<!-- Label -->
		<widget id="r+dl" class="text" font="title" auto_size="vertical" colour="">
			<translation id="text" translation_id="363721" type="use" value="Role and Duty[COMMENT: FR 8989 - title for a panel allowing choosing of the role and duty for a player]" />
		</widget>

		<container>
			<layout class="stick_to_sides_attachment" alignment="all" apply_to_children="true" inset="0" />

			<!-- Info labels for when the data isn't available-->
			<container id="inFC">
				<layout class="arrange_vertical_attachment" alignment="top" offset="0" gap="4" />

				<widget class="text" id="nrLb" auto_size="vertical" hidden="true">
					<layout class="stick_to_sides_attachment" alignment="horizontal" inset="0" />
					<translation id="text" translation_id="383562" type="use" value="No suitable best roles for this position[COMMENT: FR 10661; player overview positions indicator; string displayed when the player is not good enough in a position to have a 'best role' for it]" />
				</widget>
				<widget class="text" id="arbs" auto_size="vertical" hidden="true">
					<layout class="stick_to_sides_attachment" alignment="horizontal" inset="0" />
					<translation id="text" translation_id="447600" type="use" value="This player is being scouted by [%person#1] and the report will be available shortly.[COMMENT:scout report, scouting in progress]" />
				</widget>
				<widget class="text" id="pool" auto_size="vertical" hidden="true">
				  <layout class="stick_to_sides_attachment" alignment="horizontal" inset="0" />
				  <translation id="text" translation_id="342085" type="use" value="Scouting In Progress[COMMENT: disabled menu item when a player is already being scouted]" />
				</widget>
				<widget class="button" id="scPb" click_event="sctc" auto_size="all" height="30" hidden="true">
					<translation id="text" translation_id="243421" type="use" value="Scout Player" />
					<layout class="centre_in_parent_attachment" alignment="horizontal" />
				</widget>
			</container>

			<!-- Best roles for selected position -->
			<widget class="table" id="Rcon" layout="80, 18, -1, 100" auto_size_rows="false" row_height="28" row_spacing="2" column_spacing="4" mode="select_rows" select_event="sdst" sort_disabled="true">
				<translation id="hint" translation_id="330016" type="use" value="Highlight key attributes for role[COMMENT: option allowing for viewing the key attributes needed to play in a certain role]" />
                <global id="override_select_row_flags" name="platform_is_stadia"/>

				<record id="default_properties">
					<translation id="hint" translation_id="330016" type="use" value="Highlight key attributes for role[COMMENT: option allowing for viewing the key attributes needed to play in a certain role]" />
				</record>
				
				<list id="column_widget_properties">
				<record index="1" navigation_focus_target="true" />
				<record index="2" navigation_focus_target="true" />
				</list>

				<widget class="stars_range_strip" id="roS1" row="0" col="0" image_alignment="centre" />
				<widget class="info_icon_hint_text" id="hnt1" row="0" col="1" />
				<widget class="popup_button" id="dut1" row="0" col="2" appearance="" column_span="2" />

				<widget class="stars_range_strip" id="roS2" row="1" col="0" image_alignment="centre" />
				<widget class="info_icon_hint_text" id="hnt2" row="1" col="1" />
				<widget class="popup_button" id="dut2" row="1" col="2" appearance="" column_span="2"/>

				<widget class="stars_range_strip" id="roS3" row="2" col="0" image_alignment="centre" />
				<widget class="info_icon_hint_text" id="hnt3" row="2" col="1" />
				<widget class="popup_button" id="dut3" row="2" col="2" appearance="" column_span="2"/>

				<widget class="stars_range_strip" id="roS4" row="3" col="0" image_alignment="centre" />
				<widget class="info_icon_hint_text" id="hnt4" row="3" col="1" />
				<widget class="popup_button" id="dut4" row="3" col="2" appearance="" column_span="2"/>

				<widget class="stars_range_strip" id="roS5" row="4" col="0" image_alignment="centre" />
				<widget class="info_icon_hint_text" id="hnt5" row="4" col="1" />
				<widget class="popup_button" id="dut5" row="4" col="2" appearance="" column_span="2"/>

				<widget class="stars_range_strip" id="roS6" row="5" col="0" image_alignment="centre" />
				<widget class="info_icon_hint_text" id="hnt6" row="5" col="1" />
				<widget class="popup_button" id="dut6" row="5" col="2" appearance="" column_span="2"/>

				<widget class="stars_range_strip" id="roS7" row="6" col="0" image_alignment="centre" />
				<widget class="info_icon_hint_text" id="hnt7" row="6" col="1" />
				<widget class="popup_button" id="dut7" row="6" col="2" appearance="" column_span="2"/>

				<widget class="stars_range_strip" id="roS8" row="7" col="0" image_alignment="centre" />
				<widget class="info_icon_hint_text" id="hnt8" row="7" col="1" />
				<widget class="popup_button" id="dut8" row="7" col="2" appearance="" column_span="2"/>
			</widget>

		</container>
	</container>
</panel>

 

I believe so.  I haven't used that file/widget for a couple of years, so can't remember the file exactly, but I believe that table at the end, you'll need to add it at the end of each of the popup_buttons.

Link to post
Share on other sites

5 minutos atrás, GIMN disse:

I believe so.  I haven't used that file/widget for a couple of years, so can't remember the file exactly, but I believe that table at the end, you'll need to add it at the end of each of the popup_buttons.

spacer.png

Many thanks!!!

Link to post
Share on other sites

Does anyone know where the white text comes from that's on the squad planner tabs? Wanting to have my selected tab as white with dark text and bone selected as dark with white text I know how to change the selected and none selected just not the text parts 😅

Link to post
Share on other sites

  • 4 months later...

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