Jump to content

Help me fix the color clock in match title bar


Enyu
 Share

Recommended Posts

Hello I'm from Indonesia

Please help me fix the color clock

 

 

Is the problem in the panel match title bar? 

 

This match my title bar

 

<panel colour_team_names="true" colour_team_scores="false">

  
<layout class="stick_to_sides_attachment" alignment="horizontal, top" apply_to_children="true" inset="0"/>

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

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

      


<container class="bordered_box" appearance="boxes/custom/match/titlebar/paper">
        
<layout class="arrange_horizontal_attachment" alignment="left" gap="0" offset="0" />
        
<layout class="fit_children_attachment" alignment="horizontal,fill" gap="0" offset="0" />
        
<layout class="stick_to_sides_attachment" alignment="vertical" apply_to_children="true" inset="0" />

        
<!-- Back Button -->
        
<widget class="screen_history_button" id="back" fixed="true" width="60" appearance="buttons/custom/interface/navigation bar/button" 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="text"/>
          
<record id="click_event" event_id="GOTO" event_target="brow" scin="-8" />

          
<attachment class="test_global_attachment" get_property="MnuS" mode="1" value="true" set_property="hidn" skip_if_null="true"/>
     </widget>

        

<!-- home team names and logo -->
        
<container class="bordered_box" id="T1Co" appearance="boxes/custom/match/scoreboard/p3" width="290">
          
<layout class="arrange_horizontal_attachment" alignment="left,extend" gap="0" offset="0" />
          
<layout class="stick_to_sides_attachment" alignment="vertical" apply_to_children="true" inset="0" />

          
<!--home team logo-->
                    
<widget class="object_portrait_picture" id="hmtF" scale_picture="true" width="80" height="80" transparency="1" >

<layout class="centre_in_parent_attachment" alignment="vertical" inset="0"/>
                
              
<boolean id="keep_aspect_ratio" value="true"/>
              
<flags id="image_alignment" value="centre"/>
              
<record id="object_property">
                
<integer id="get_property" value="home"/>
                
<integer id="set_property" value="objt"/>
              
</record>
           
           
</widget>     

          

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

            
<!--home team name -->
            
<widget class="text_button" id="T1nm" size="20"  alignment="right,centre_y" click_event="htac" style="shadowed"  colour="secondary">
            
</widget>

          
</container>

        
</container>

        


<!-- scores and clock -->
        
<container class="bordered_box" appearance="boxes/custom/match/scoreboard/score" width="210">
          
<layout class="arrange_horizontal_attachment" alignment="left" gap="0" offset="0" />
          
<layout class="fit_children_attachment" alignment="horizontal,fill" gap="0" offset="0" />
          
<layout class="stick_to_sides_attachment" alignment="vertical" apply_to_children="true" inset="0" />

          

<!-- home team score -->
          
<container width="45">
            
<layout class="arrange_vertical_attachment" alignment="middle" offset="0" gap="2" />
            
<layout class="stick_to_sides_attachment" alignment="horizontal" apply_to_children="true" />

            

<!--home score -->
            
<widget class="text" id="T1sc" size="20" auto_size="vertical" alignment="centre" font="scoreboard" colour="white">
            
</widget>

            
<!--home aggregate score -->
            
<widget class="text" id="T1as" size="12" auto_size="vertical" alignment="centre" font="scoreboard" colour="yellow">
            </widget>
          
</container>

          

<!--clock-->
          
<container width="120">
            
<layout class="arrange_vertical_attachment" alignment="middle" offset="0" gap="2" />
            
<layout class="stick_to_sides_attachment" alignment="horizontal" apply_to_children="true" />

            

<!--clock-->
            
<container id="ClkC">
              
<layout class="arrange_vertical_attachment" alignment="middle" offset="0" gap="-2"/>
              
<layout class="fit_children_attachment" alignment="vertical,fill" offset="0" gap="-2"/>
              
<layout class="stick_to_sides_attachment" alignment="horizontal" apply_to_children="true" />

              
<widget class="text" id="Mclk" auto_size="vertical" size="20" alignment="centre" style="semi_bold" colour="match scoreboard clock" font="scoreboard"/>
              
<widget class="text" id="ClkT" auto_size="vertical" size="12" alignment="centre" font="scoreboard" colour="match scoreboard clock"/>
              
<widget class="text" id="Pent" auto_size="vertical" size="14" alignment="centre" style="semi_bold" colour="match scoreboard clock"/>
            
</container>

            

<!--injury time indicator-->
           
<container id="MijC" class="bordered_box" appearance="" height="16">
              
<layout class="stick_to_sides_attachment" alignment="all" apply_to_children="true" inset="0"/>

              
<widget class="text" id="Mijt" size="11" alignment="centre"  font="scoreboard" colour="orange"/>
            
</container>

          
</container>

          

<!-- away team score -->
          
<container width="45">
            
<layout class="arrange_vertical_attachment" alignment="middle" offset="0" gap="2" />
            
<layout class="stick_to_sides_attachment" alignment="horizontal" apply_to_children="true" />

            

<!--away score -->
            
<widget class="text" id="T2sc" size="20" auto_size="vertical" alignment="centre" font="scoreboard" colour="white">
            
</widget>

            
<!--away aggregate score -->
            
<widget class="text" id="T2as" size="12" auto_size="vertical" alignment="centre" font="scoreboard" colour="yellow">
            </widget>

          
</container>
          
        
</container>
       
        

<!-- away team names and logo -->
        
<container class="bordered_box" id="T2Co" appearance="boxes/custom/match/scoreboard/p4" width="290">
          
<layout class="arrange_horizontal_attachment" alignment="right,extend" gap="0" offset="0" />
          
<layout class="stick_to_sides_attachment" alignment="vertical" apply_to_children="true" inset="0" />

          

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

            

<!--away team name -->
            
<widget class="text_button" id="T2nm" size="20"  alignment="left,centre_y" click_event="atac" style="shadowed"  colour="secondary">
 </widget>

          
</container>

          

<!--away team logo-->
           
<widget class="object_portrait_picture" id="awtF" scale_picture="true" width="80" height="80" transparency="1" >
            <layout class="centre_in_parent_attachment" alignment="vertical" inset="0"/>

              
<boolean id="keep_aspect_ratio" value="true"/>
              
<flags id="image_alignment" value="centre"/>
              
<record id="object_property">
                
<integer id="get_property" value="away"/>
                
<integer id="set_property" value="objt"/>
              
</record>
            
</widget>

        
</container>
         
          
</container>

          
<container class="bordered_box" appearance="boxes/custom/match/titlebar/paper">
        
<layout class="stick_to_sides_attachment" alignment="all" apply_to_children="true" inset="0" />

        

<!--match timeline-->
        
<container id="mtml">
          
<layout class="stick_to_sides_attachment" alignment="all" apply_to_children="true" inset="0" />

          
<!-- an animation just to delay widget hiding-->
          
<!--<animation class="fade_animation" trigger_id="hidden" trigger_value="true" start_value="1" end_value="1" duration="1" end_mode="stop"/>-->

          
<attachment class="test_multiple_globals_attachment" default_value="true">
            
<list id="get_properties">
              
<record get_property="TTyp" test_mode="1" value="1" skip_if_null="false"/>
              
<record get_property="dtty" test_mode="1" comparison_mode="1" value="53" skip_if_null="false"/>
             
 <record get_property="Tmts" test_mode="1" comparison_mode="1" value="2" skip_if_null="true"/>
           
</list>
            
<integer id="set_property" value="hidn"/>
         
</attachment>

          
<container/>
          

<container class="match_flow_graphic_panel">
            
<record id="object_property">
              
<integer id="get_property" value="objt" />
              
<integer id="set_property" value="objt" />
            
</record>
          
</container>
        
</container>

        


<!--match time bar-->
        
<widget class="match_time_slider_game_panel" id="mtSL">
          
<!-- slide in from right when shown, out left when hidden-->
          
<animation class="slide_in_left_animation"  trigger_id="hidden" trigger_value="false" end_mode="stop"/>
         
<animation class="slide_in_right_animation" trigger_id="hidden" trigger_value="true" end_mode="hold_end"/>

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

          
<attachment class="test_multiple_globals_attachment" default_value="true">
            
<list id="get_properties">
              
<record get_property="TTyp" test_mode="1" value="1" skip_if_null="false"/>
              
<record get_property="dtty" test_mode="1" comparison_mode="1" value="53" skip_if_null="false"/>
              
<record get_property="Tmts" test_mode="1" comparison_mode="1" value="1" skip_if_null="true"/>
            
</list>
           
<integer id="set_property" value="hidn"/>
          
</attachment>
        
</widget>

        

<!--captions-->
        
<widget class="match_caption_panel" id="MCap">
          
<record id="object_property" get_property="objt" set_property="objt" />
        
</widget>
      
</container>

    
</container>

    


     
     

      

<container class="bordered_box" appearance="boxes/custom/match/titlebar/paper" width="230">
            
<layout class="stick_to_sides_attachment" alignment="all" apply_to_children="true" inset="0" />

        
<!-- continue button -->
        
<widget class="match_continue_panel" id="mcnt">
          
<record id="object_property">
            
<integer id="get_property" value="objt" />
            
<integer id="set_property" value="objt" />
          
</record>
        
</widget>
      
</container>

</container>

       
      

    
    
  

</panel>
 

IMG_20200628_011309.jpg

Link to post
Share on other sites

This section is the clock

<!--clock-->
            
<container id="ClkC">
             
<layout class="arrange_vertical_attachment" alignment="middle" offset="0" gap="-2"/>
           
<layout class="fit_children_attachment" alignment="vertical,fill" offset="0" gap="-2"/>
              
<layout class="stick_to_sides_attachment" alignment="horizontal" apply_to_children="true" />

              
<widget class="text" id="Mclk" auto_size="vertical" size="20" alignment="centre" style="semi_bold" colour="match scoreboard clock" font="scoreboard"/>
              
<widget class="text" id="ClkT" auto_size="vertical" size="12" alignment="centre" font="scoreboard" colour="match scoreboard clock"/>
              
<widget class="text" id="Pent" auto_size="vertical" size="14" alignment="centre" style="semi_bold" colour="match scoreboard clock"/>

            
</container>

 

You can change the match scoreboard clock in the settings file or to a colour here.  colour="white" etc

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