Advertisement
Guest User

match score area panel.xml

a guest
Apr 12th, 2023
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 8.34 KB | None | 0 0
  1. <panel>
  2.  
  3.     <!--Alternate UI mode-->
  4.     <integer id="alSM" value="3" />
  5.  
  6.     <list id="properties_to_forward">
  7.         <record get_property="disable_animations" set_property="disable_animations" target="clkc"/>
  8.         <record get_property="disable_animations" set_property="disable_animations" target="temc"/>
  9.     </list>
  10.     <attachment_group class="vertical_arrange_autosize_all" vertical_alignment="top" vertical_offset="0" vertical_gap="0" horizontal_alignment="horizontal" horizontal_inset="0" />
  11.  
  12.     <container id="scbr">
  13.         <attachment_group class="vertical_arrange_autosize_all" vertical_gap="0"/>
  14.         <container height="10">
  15.             <attachment_group class="horizontal_arrange_autosize" horizontal_gap="0" horizontal_offset="10" vertical_inset="3,0,0,0"/>
  16.             <widget class="spacer">
  17.                 <string id="create_if" value="distribution_is_apple"/>
  18.                 <global id="width" name="ui.safe_area_left"/>
  19.             </widget>
  20.             <!--Make sure this matches the mtSA container below-->
  21.             <widget class="spacer" width="220"/>
  22.             <container class="main_box_no_margin" id="T1rc" red_replacement="red" blue_replacement="red" appearance="boxes/custom/solid/paper" height="5" width="10" />
  23.             <widget class="spacer" width="115"/>
  24.  
  25.             <container class="main_box_no_margin" id="T2rc" red_replacement="red" blue_replacement="red" appearance="boxes/custom/solid/paper" height="5" width="10" />
  26.  
  27.         </container>
  28.        
  29.         <container id="mtSA" height="30">
  30.             <attachment_group class="horizontal_arrange_autosize" horizontal_gap="0" horizontal_offset="10"/>
  31.             <widget class="spacer">
  32.                 <string id="create_if" value="distribution_is_apple"/>
  33.                 <global id="width" name="ui.safe_area_left"/>
  34.             </widget>
  35.            
  36.             <container  class="main_box_no_margin" appearance="boxes/custom/efl/match/scorebar/round/paper" red_replacement="black"  >
  37.                 <attachment_group class="horizontal_arrange_autosize" horizontal_gap="-15"/>
  38.  
  39.                 <container id="clkc" width="70">
  40.                     <attachment_group class="horizontal_arrange" horizontal_gap="10" horizontal_offset="1" vertical_alignment="vertical" horizontal_alignment="left, extend" vertical_inset="0"/>
  41.                     <!--widget class="value_based_picture" id="coIC" image_alignment="centre" red_replacement="efl blue" scale_picture="true" width="100">
  42.                         <list id="value_list">
  43.                             <record value="12" file="pictures/logos/custom/comps/eng/efl_skybet_horizontal_short"/>
  44.                             <record value="13" file="pictures/logos/custom/comps/eng/efl_skybet_horizontal_short"/>
  45.                             <record value="14" file="pictures/logos/custom/comps/eng/efl_skybet_horizontal_short"/>
  46.                             <record value="1301427" file="pictures/logos/custom/comps/eng/efl_cup_horizontal_short"/>
  47.                             <record value="1301429" file="pictures/logos/custom/comps/eng/efl_trophy_horizontal_short"/>
  48.                         </list>
  49.                     </widget-->
  50.  
  51.                     <container>
  52.                         <layout class="stick_to_sides_attachment" alignment="all" apply_to_children="true" inset="0"/>
  53.                         <widget class="text" id="Mclk" size="14" font="title" colour="white" alignment="centre,centre_y" >
  54.                             <layout class="stick_to_sides_attachment" alignment="bottom" inset="2"/>
  55.                             <!--Alternate UI mode-->
  56.                             <integer id="alSM" value="5" />
  57.                         </widget>
  58.  
  59.                         <widget class="text" id="ClkT" font="title" colour="white" alignment="centre_y,auto_fit">
  60.                             <layout class="stick_to_sides_attachment" alignment="bottom" inset="2"/>
  61.                             <!--Alternate UI mode-->
  62.                             <integer id="alSM" value="5" />
  63.                         </widget>
  64.                     </container>
  65.  
  66.                    
  67.                 </container>
  68.  
  69.                 <widget class="spacer" width="35"/>
  70.  
  71.                 <!--team names and score-->
  72.                 <container id="temc">
  73.                     <attachment_group class="horizontal_arrange_autosize" vertical_inset="0" horizontal_gap="0"/>
  74.  
  75.                     <container class="client_object_viewer_xml_panel" width="80" id="T1Co" override_with_object="true">
  76.                         <attachment_group class="horizontal_arrange" horizontal_alignment="left,extend" vertical_inset="0" horizontal_gap="0"/>
  77.  
  78.                         <container class="main_box_no_margin" appearance="boxes/custom/efl/match/scorebar/left/paper" id="t1CB">
  79.                             <attachment_group class="horizontal_arrange" horizontal_alignment="right,extend" vertical_inset="0" horizontal_gap="0"/>
  80.  
  81.                             <widget class="text_button" id="T1nm" font="title" size="13" alignment="centre" click_event="htac" navigation_focus_target="false" multiline="true">
  82.                                 <layout class="stick_to_sides_attachment" alignment="bottom" inset="0"/>
  83.                             </widget>
  84.  
  85.                         </container>
  86.                     </container>
  87.  
  88.                     <container id="MInf" width="55">
  89.                         <layout class="stick_to_sides_attachment" alignment="all" apply_to_children="true" inset="0"/>
  90.                         <container class="main_box_no_margin" appearance="boxes/custom/efl/match/scorebar/middle/paper" red_replacement="black" navigation_focus_target="false" >
  91.                             <attachment_group class="horizontal_arrange" horizontal_alignment="middle" horizontal_gap="4" horizontal_offset="0" vertical_inset="0,0,0,0"/>
  92.                             <widget class="text" id="T1sc" size="14" font="title" alignment="right,centre_y" colour="white" auto_size="horizontal"/>
  93.                             <widget class="text" size="13" font="title" alignment="centre" text="-" colour="white" auto_size="horizontal"/>
  94.                             <widget class="text" id="T2sc" size="14" font="title" alignment="left,centre_y" colour="white" auto_size="horizontal"/>
  95.                         </container>
  96.                     </container>
  97.  
  98.                     <container class="client_object_viewer_xml_panel" width="80" id="T2Co" override_with_object="true">
  99.                         <attachment_group class="horizontal_arrange" horizontal_alignment="right,extend" vertical_inset="0" horizontal_gap="0"/>
  100.  
  101.                         <container class="main_box_no_margin" appearance="boxes/custom/efl/match/scorebar/right/paper" id="t2CB">
  102.                             <attachment_group class="horizontal_arrange" horizontal_alignment="left,extend" vertical_inset="0" horizontal_gap="0"/>
  103.  
  104.                             <widget class="text_button" id="T2nm" font="title" size="13" alignment="centre" click_event="htac" navigation_focus_target="false" multiline="true">
  105.                                 <layout class="stick_to_sides_attachment" alignment="bottom" inset="0"/>
  106.                             </widget>
  107.                         </container>
  108.                     </container>
  109.  
  110.  
  111.                 </container>
  112.  
  113.                 <container class="main_box_no_margin" width="70" id="asco" appearance="boxes/custom/efl/match/scorebar/aggregate/paper" red_replacement="efl blue">
  114.                     <attachment_group class="horizontal_arrange_autosize" horizontal_alignment="middle"  horizontal_gap="2" horizontal_offset="8" vertical_inset="0,0,4,0" />
  115.  
  116.                     <widget class="text" id="T1as" size="13" font="title" alignment="right,centre_y" colour="white" auto_size="horizontal"/>
  117.                     <widget class="text" size="13" font="title" alignment="centre" text="•" colour="white" auto_size="horizontal"/>
  118.                     <widget class="text" id="T2as" size="13" font="title" alignment="left,centre_y" colour="white" auto_size="horizontal"/>
  119.  
  120.                 </container>
  121.  
  122.                 <container id="McIC" class="main_box_no_margin" >
  123.                     <attachment_group class="horizontal_arrange_autosize" vertical_inset="0,0,4,0" horizontal_offset="4" horizontal_gap="4"/>
  124.  
  125.                     <widget class="spacer" width="10"/>
  126.  
  127.                    
  128.                     <widget class="text" id="McIt" font="title"  alignment="centre" colour="efl blue" size="14" width="65"/>
  129.  
  130.                     <!--injury time indicator-->
  131.                     <container id="MijC" class="main_box_no_margin">
  132.                         <attachment_group class="horizontal_arrange_autosize" vertical_inset="0" horizontal_offset="0"/>
  133.  
  134.                         <widget class="text" id="Mijt" auto_size="horizontal" font="title" alignment="centre" colour="red" size="14" usMT="true"/>
  135.  
  136.                     </container>
  137.  
  138.                 </container>
  139.                
  140.  
  141.            
  142.             </container>
  143.         </container>
  144.        
  145.     </container>
  146.     <widget class="button" appearance="" navigation_focus_target="false">
  147.         <!--Dark Magic xml shenanigans to make this button match the above container, while also allowing us to keep the autosize horizontal-->
  148.         <layout class="stick_to_object_attachment" id="align_top" offset="0" get_side="top" set_side="top" target="scbr" />
  149.         <layout class="stick_to_object_attachment" id="align_bottom" offset="0" get_side="bottom" set_side="bottom" target="scbr" />
  150.         <layout class="stick_to_object_attachment" id="align_left" offset="0" get_side="left" set_side="left" target="scbr" />
  151.         <layout class="stick_to_object_attachment" id="align_right" get_side="right" set_side="right" target="scbr" />
  152.         <record id="click_event">
  153.             <flags id="event_id" value="TNeV" />
  154.             <integer id="evfl" value="7" />
  155.             <flags id="evtg" value="root" />
  156.         </record>
  157.     </widget>
  158.  
  159. </panel>
  160.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement