Jump to content

Quick question


TCSSkin

Recommended Posts

No, look at the titlebars in the two images

n6AOOlf.png

GWSj9h5.png

The first one is from the default skin, notice how the titlebar is blue, then the second one is on my skin, notice how it's black. The titlebar is black on every competition, is there a code which I'm missing in my panels?

Link to post
Share on other sites

match title barl.xml should direct you to the paper file you prob need to increase the opacity on.

Can't seem to figure out how to get it recoloured at all. Any ideas?

<?xml version='1.0' encoding='utf-8'?>
<panel>
 <layout class="stick_to_sides_attachment" alignment="all" layout_children="true" inset="0" />

 <container class="bordered_box" appearance="boxes/custom/interface/tab bar/paper" height="50" red_replacement="primary" green_replacement="primary">
 <layout class="arrange_horizontal_attachment" alignment="right,extend" gap="0" offset="0" />
 <layout class="stick_to_sides_attachment" alignment="vertical" layout_children="true" inset="0" />

<container height="50">
 <layout class="arrange_horizontal_attachment" alignment="left,extend" gap="0" offset="0" />
 <layout class="stick_to_sides_attachment" alignment="vertical" layout_children="true" inset="0" />

<!-- Back Button -->
   <widget class="screen_history_button" id="back" fixed="true" width="30" appearance="buttons/custom/interface/navigation bar/button1" icon="icons/26px/left" icon_alignment="centre">
     <attachment class="get_global_attachment" get_property="hnpt" set_property="itms" />
     <record id="primary_icon_properties" red_replacement="ui_header_icons"/>
     <record id="click_event" event_id="GOTO" event_target="brow" scin="-3" />

     <attachment class="test_global_attachment" get_property="MnuS" mode="1" value="true" set_property="hidn" skip_if_null="true"/>
  <record id="object_property">
			<list id="get_properties">
				<record>
					<integer id="get_property" value="ttcl" />
					<integer id="set_property" value="Icol" />
				</record>

				<record>
					<integer id="get_property" value="ttcl" />
					<integer id="set_property" value="Jcol" />
				</record>
			</list>
		</record>

  </widget>


<widget class="picture" file="dividers/standard/vertical/line" width="2" />


  <!-- Next Button -->
   <widget class="screen_history_button" id="forw" fixed="true" width="30" appearance="buttons/custom/interface/navigation bar/button1" icon="icons/26px/right" icon_alignment="centre">
     <attachment class="get_global_attachment" get_property="hnit" set_property="itms" />
     <record id="primary_icon_properties" red_replacement="ui_header_icons"/>
     <record id="click_event" event_id="GOTO" event_target="brow" scin="-2" />

     <attachment class="test_global_attachment" get_property="MnuS" mode="1" value="true" set_property="hidn" skip_if_null="true"/>
    <record id="object_property">
			<list id="get_properties">
				<record>
					<integer id="get_property" value="ttcl" />
					<integer id="set_property" value="Icol" />
				</record>

				<record>
					<integer id="get_property" value="ttcl" />
					<integer id="set_property" value="Jcol" />
				</record>
			</list>
		</record>

	</widget>
 <!--spacer-->
 <container width="5" />

 <!--home button-->
 <widget class="icon_button" id="homb" click_event="home" auto_size="vertical" width="40" appearance="buttons/custom/match/exit/button" icon="icons/16px/home" icon_alignment="centre">
   <layout class="centre_in_parent_attachment" alignment="vertical" />
   <attachment class="test_global_attachment" get_property="MnuS" mode="0" value="true" set_property="hidn" skip_if_null="true" />
 </widget>

 <!--spacer-->
 <container width="5" />

 <!--vertical divider-->
 <widget class="picture" file="dividers/standard/vertical/line" auto_size="horizontal">
   <attachment class="test_global_attachment" get_property="MnuS" mode="0" value="true" set_property="hidn" skip_if_null="true" />
 </widget>

 <!--spacer-->
 <container width="5" />

 <!--clock-->
 <container width="120">
   <layout class="arrange_vertical_attachment" alignment="top" offset="13" gap="-5" />
   <layout class="stick_to_sides_attachment" alignment="horizontal" layout_children="true" />

   <widget class="text" id="Mclk" size="15" auto_size="vertical" alignment="centre" style="semi_bold" colour="secondary"/>
   <widget class="text" id="Mijt" size="8" auto_size="vertical" height="12" alignment="centre" colour="secondary" style="semi_bold" />
 </container>

 <!--home team logo-->
 <widget class="match_team_logo_picture" id="HtLG" team_index="0" width="40">
   <record id="object_property">
     <integer id="get_property" value="objt" />
     <integer id="set_property" value="objt" />
   </record>
 </widget>

 <!--scoreboard-->
 <container width="90">
   <layout class="arrange_vertical_attachment" alignment="top" offset="13" gap="-5" />
   <layout class="stick_to_sides_attachment" alignment="horizontal" layout_children="true" />

   <widget class="text" id="Scor" size="15" auto_size="vertical" alignment="centre" style="semi_bold" colour="secondary"/>
   <widget class="text" id="Aggg" size="9" height="12" alignment="centre" font="fonts/aggregate_score" style="semi_bold" />
 </container>

 <!--away team logo-->
 <widget class="match_team_logo_picture" id="AtLG" team_index="1" width="40">
   <record id="object_property">
     <integer id="get_property" value="objt" />
     <integer id="set_property" value="objt" />
   </record>
 </widget>

 <!--spacer-->
 <container width="5" />

 <!--vertical divider-->
 <widget class="picture" file="dividers/standard/vertical/line" auto_size="horizontal">
   <attachment class="test_global_attachment" get_property="MnuS" mode="0" value="true" set_property="hidn" skip_if_null="true" />
 </widget>

 <container>
   <layout class="arrange_horizontal_attachment" alignment="right,extend" gap="0" offset="10" />
   <layout class="stick_to_sides_attachment" alignment="vertical" layout_children="true" inset="0" />

   <!--sections menu-->
   <container class="menu_strip" id="tree" appearance="" offset="0" gap="0" inset="0" default_widget_type="section_button" submenu_type="section_popup_button" separator_type="picture">
     <record id="default_widget_properties"/>
     <record id="submenu_properties" fixed="true" allow_hover_to_open="true" mouse_hovering_time="30">
       <event id="click_notification_event" event_id="DMCN" item="NULL"/>
       <event id="menu_layout_notification_event" event_id="MLNO"/>
     </record>
     <record id="separator_properties" file="dividers/standard/vertical/line" auto_size="horizontal" height="52"/>
     <record id="more_button_properties"/>
   </container>


 </container>

</container>

       <!-- continue button -->
     <container id="ctnu" file="continue" width="250">
       <attachment class="test_global_attachment" get_property="Mnus" mode="1" value="true" set_property="hidn" skip_if_null="true"/>
     </container>
 </container>
</panel>

Link to post
Share on other sites

It will still be controlled by the normal header and titlebar xml files, I think the problem will be caused by the fact that the skin you are using has changed to titlebar colouring to use the old style recolouring code that gives the teams the exact shirt colours, rather than the new code that adds a contrast check to the titlebar colour, however the problem with the old code is that it doesn't work on the match screens hence you get the gray titlebar.

I don't there is anyway to fix it apart from setting the titlebar recolouring code back to the new style code.

Link to post
Share on other sites

It will still be controlled by the normal header and titlebar xml files, I think the problem will be caused by the fact that the skin you are using has changed to titlebar colouring to use the old style recolouring code that gives the teams the exact shirt colours, rather than the new code that adds a contrast check to the titlebar colour, however the problem with the old code is that it doesn't work on the match screens hence you get the gray titlebar.

I don't there is anyway to fix it apart from setting the titlebar recolouring code back to the new style code.

Ah, thats a shame.

If I use the new code, will it work on the sidebar as well? If so, what is the code I should use?

Link to post
Share on other sites

Ah, thats a shame.

If I use the new code, will it work on the sidebar as well? If so, what is the code I should use?

Have a look at this thread:[FM16][MOD] Kit Titlebar Colours Mod You'll need to reverse those instructions to get the new code back, for the sidebar it will depend on what the skinner has changed but doing the same again in reverse in the sidebar menu table xml file should work.

Link to post
Share on other sites

Archived

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

  • Recently Browsing   0 members

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