Jump to content

Time Bar Over Lapping?


Barkermush

Recommended Posts

On the Skin i'm using sometimes the time bar overlaps the buttons to the side of it, it usually does this when it's a long named month/day.

I asked the Author age's ago how i would go about fixing this, but have yet to get a response.

Is there anyway to make the buttons to the right of the game time/date auto size?

Like move towards the right when the month/day is long, and move back when the month/date is shorter?

55201919.jpg

12948323.jpg

Or is there any other to fix this? Cheers.

Link to post
Share on other sites

Thanks, this is the contents of the footer.xml.

  • <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE panel SYSTEM "http://www.sigames.com/dtds/sios/panel.dtd">
    <panel title="footer" height="27">
    <container>
    <!-- hide this panel if the game isn't set up yet -->
    <attachment class="test_global_attachment" get_property="scid" value="2" mode="1" set_property="hidn" skip_if_null="false" skip_if_resetting="false"/>
    <layout class="arrange_vertical_attachment" alignment="fill" offset="0" gap="0"/>
    <layout class="stick_to_sides_attachment" alignment="horizontal" layout_children="true" />
    <layout class="stick_to_sides_attachment" alignment="all" inset="0" />
    <!-- infopanel overlay -->
    <widget class="picture" id="mmbr" auto_size="vertical" file="main menu/bar" cached="true">
    <layout class="stick_to_sides_attachment" alignment="horizontal,top" inset="0"/>
    </widget>
    <!-- SI logo -->
    <widget class="action_button" appearance="main menu/sports interactive" auto_size="all" hidden="true" >
    <layout class="stick_to_sides_attachment" alignment="vertical" inset="10"/>
    <layout class="stick_to_sides_attachment" alignment="left" inset="4"/>
    <string id="hint" value="http://www.sigames.com/" />
    <record id="click_event">
    <flags id="event_id" value="OURL" />
    <string id="url" value="http://www.sigames.com/" />
    <boolean id="byct" value="true" />
    </record>
    <!-- we redirect some mouse events directly to the 'hint detail' widget somewhere else on this screen (this widget is located in intro.xml). -->
    <record id="mouse_entered_event">
    <flags id="event_id" value="inte" />
    <flags id="event_target" value="deta" />
    <string id="hint" value="http://www.sigames.com/" />
    </record>
    <record id="mouse_exited_event">
    <flags id="event_id" value="intx" />
    <flags id="event_target" value="deta" />
    <string id="hint" value="" />
    </record>
    </widget>
    <!-- SEGA logo -->
    <widget class="action_button" appearance="main menu/sega" auto_size="all" hidden="true" >
    <layout class="stick_to_sides_attachment" alignment="vertical" inset="0"/>
    <layout class="stick_to_sides_attachment" alignment="left" inset="60"/>
    <string id="hint" value="http://www.sega-europe.com/" />
    <record id="click_event">
    <flags id="event_id" value="OURL" />
    <string id="url" value="http://www.sega-europe.com/" />
    <boolean id="byct" value="true" />
    </record>
    <!-- we redirect some mouse events directly to the 'hint detail' widget somewhere else on this screen (this widget is located in intro.xml). -->
    <record id="mouse_entered_event">
    <flags id="event_id" value="inte" />
    <flags id="event_target" value="deta" />
    <string id="hint" value="http://www.sega-europe.com/" />
    </record>
    <record id="mouse_exited_event">
    <flags id="event_id" value="intx" />
    <flags id="event_target" value="deta" />
    <string id="hint" value="" />
    </record>
    </widget>
    <!-- footballmanager.net -->
    <widget class="action_button" appearance="main menu/wwwfootballmanagernet" auto_size="all" hidden="true" >
    <layout class="stick_to_sides_attachment" alignment="vertical" inset="68"/>
    <layout class="stick_to_sides_attachment" alignment="left" inset="140"/>
    <string id="hint" value="http://www.footballmanager.net/" />
    <record id="click_event">
    <flags id="event_id" value="OURL" />
    <string id="url" value="http://www.footballmanager.net/" />
    <boolean id="byct" value="true" />
    </record>
    <!-- we redirect some mouse events directly to the 'hint detail' widget somewhere else on this screen (this widget is located in intro.xml). -->
    <record id="mouse_entered_event">
    <flags id="event_id" value="inte" />
    <flags id="event_target" value="deta" />
    <string id="hint" value="http://www.footballmanager.net/" />
    </record>
    <record id="mouse_exited_event">
    <flags id="event_id" value="intx" />
    <flags id="event_target" value="deta" />
    <string id="hint" value="" />
    </record>
    </widget>
    <!-- container with main option buttons and action buttons -->
    <container>
    <layout class="arrange_horizontal_attachment" alignment="right" gap="10" offset="0" />
    <layout class="stick_to_sides_attachment" alignment="vertical" inset="0"/>
    <layout class="fit_children_attachment" alignment="vertical" offset="0"/>
    <!-- quit -->
    <widget class="action_button" id="quit" appearance="main menu/buttons/small/exit/button" auto_size="all" >
    <layout class="stick_to_sides_attachment" alignment="bottom" inset="1"/>
    <layout class="stick_to_sides_attachment" alignment="right" inset="4"/>
    <string id="hint" value="Choose this option to exit [%string#1 - current name of game, e.g. FM2007] and return to the real world...[COMMENT - hint text for button to exit game]"/>
    <!-- we redirect some mouse events directly to the 'hint detail' widget somewhere else on this screen. -->
    <record id="mouse_entered_event">
    <flags id="event_id" value="inte" />
    <flags id="event_target" value="deta" />
    <string id="hint" value="Choose this option to exit [%string#1 - current name of game, e.g. FM2007] and return to the real world...[COMMENT - hint text for button to exit game]"/>
    </record>
    <record id="mouse_exited_event">
    <flags id="event_id" value="intx" />
    <flags id="event_target" value="deta" />
    <string id="hint" value="" />
    </record>
    <record id="click_event">
    <flags id="event_id" value="QUIT" />
    <flags id="event_target" value="scrn" />
    </record>
    </widget>
    <widget class="text_button" text="Quit" auto_size="horizontal" spec="text" id="qttx">
    <layout kind="stick_to_object_attachment" priority="1" target="quit" get_side="left" set_side="right" move_side="true" offset="-8"/>
    <layout kind="stick_to_object_attachment" priority="1" target="quit" get_side="top" set_side="top" offset="2"/>
    <layout kind="stick_to_object_attachment" priority="1" target="quit" get_side="bottom" set_side="bottom"/>
    <string id="hint" value="Choose this option to exit [%string#1 - current name of game, e.g. FM2007] and return to the real world...[COMMENT - hint text for button to exit game]"/>
    <!-- we redirect some mouse events directly to the 'hint detail' widget somewhere else on this screen. -->
    <record id="mouse_entered_event">
    <flags id="event_id" value="inte" />
    <flags id="event_target" value="deta" />
    <string id="hint" value="Choose this option to exit [%string#1 - current name of game, e.g. FM2007] and return to the real world...[COMMENT - hint text for button to exit game]"/>
    </record>
    <record id="mouse_exited_event">
    <flags id="event_id" value="intx" />
    <flags id="event_target" value="deta" />
    <string id="hint" value="" />
    </record>
    <record id="click_event">
    <flags id="event_id" value="QUIT" />
    <flags id="event_target" value="scrn" />
    </record>
    </widget>
    <!-- preferences -->
    <!-- attach this ot the text button for 'quit' with an inset, so that there's no issues with variable length translations -->
    <widget class="action_button" id="ibpr" appearance="main menu/buttons/small/preferences/button" auto_size="all">
    <layout kind="stick_to_object_attachment" priority="1" target="qttx" get_side="left" set_side="right" move_side="true" offset="-40"/>
    <layout class="stick_to_sides_attachment" alignment="bottom" inset="1"/>
    <string id="hint" value="Change your game preferences.[COMMENT: intro screen: preferences button hint]"/>
    <!-- we redirect some mouse events directly to the 'hint detail' widget somewhere else on this screen. -->
    <record id="mouse_entered_event">
    <flags id="event_id" value="inte" />
    <flags id="event_target" value="deta" />
    <string id="hint" value="Change your game preferences.[COMMENT: intro screen: preferences button hint]"/>
    </record>
    <record id="mouse_exited_event">
    <flags id="event_id" value="intx" />
    <flags id="event_target" value="deta" />
    <string id="hint" value="" />
    </record>
    <record id="click_event">
    <flags id="event_id" value="PREF" />
    <flags id="event_target" value="scrn" />
    </record>
    </widget>
    <widget class="text_button" text="Preferences" auto_size="horizontal" spec="text" >
    <layout kind="stick_to_object_attachment" priority="1" target="ibpr" get_side="left" set_side="right" move_side="true" offset="-8"/>
    <layout kind="stick_to_object_attachment" priority="1" target="ibpr" get_side="top" set_side="top" offset="2"/>
    <layout kind="stick_to_object_attachment" priority="1" target="ibpr" get_side="bottom" set_side="bottom"/>
    <string id="hint" value="Change your game preferences.[COMMENT: intro screen: preferences button hint]"/>
    <!-- we redirect some mouse events directly to the 'hint detail' widget somewhere else on this screen. -->
    <record id="mouse_entered_event">
    <flags id="event_id" value="inte" />
    <flags id="event_target" value="deta" />
    <string id="hint" value="Change your game preferences.[COMMENT: intro screen: preferences button hint]"/>
    </record>
    <record id="mouse_exited_event">
    <flags id="event_id" value="intx" />
    <flags id="event_target" value="deta" />
    <string id="hint" value="" />
    </record>
    <record id="click_event">
    <flags id="event_id" value="PREF" />
    <flags id="event_target" value="scrn" />
    </record>
    </widget>
    </container>
    </container>
    <!-- filler bar for the bottom of screen -->
    <widget class="picture" id="info" auto_size="vertical" file="interface/footer/filler/bar" cached="true">
    <layout class="stick_to_sides_attachment" alignment="horizontal,top" inset="0"/>
    <!-- hide this panel if the game isn't set up yet -->
    <attachment class="test_global_attachment" get_property="scid" value="2" mode="0" set_property="hidn" skip_if_null="false" skip_if_resetting="false"/>
    </widget>
    <!-- main infopanel - contains icons, ticker -->
    <widget class="picture" id="info" auto_size="vertical" file="interface/footer/bar" cached="true" rthr="68">
    <layout class="stick_to_sides_attachment" alignment="horizontal,top" inset="0"/>
    <!-- recolour -->
    <attachment class="get_global_attachment" get_property="tbcl" set_property="colr"/>
    <!-- hide this panel if the game isn't set up yet -->
    <attachment class="test_global_attachment" get_property="scid" value="2" mode="0" set_property="hidn" skip_if_null="false" skip_if_resetting="false"/>
    </widget>
    <!-- trim - gets recoloured -->
    <widget class="picture" id="info" auto_size="vertical" file="interface/footer/trim/bar" cached="true" rthr="68">
    <layout class="stick_to_sides_attachment" alignment="horizontal,top" inset="0"/>
    <!-- recolour -->
    <attachment class="get_global_attachment" get_property="fcol" set_property="colr"/>
    <!-- hide this panel if the game isn't set up yet -->
    <attachment class="test_global_attachment" get_property="scid" value="2" mode="0" set_property="hidn" skip_if_null="false" skip_if_resetting="false"/>
    </widget>
    <!-- infopanel overlay styling -->
    <widget class="picture" id="info" auto_size="vertical" file="interface/footer/overlay/bar" cached="true">
    <layout class="stick_to_sides_attachment" alignment="horizontal,top" inset="0"/>
    <!-- hide this panel if the game isn't set up yet -->
    <attachment class="test_global_attachment" get_property="scid" value="2" mode="0" set_property="hidn" skip_if_null="false" skip_if_resetting="false"/>
    </widget>
    <!-- Ticker Bar -->
    <widget class="text_button" id="tick" standard_spec="text,small" style="shadowed" auto_size="all" hidden="true">
    <layout class="stick_to_sides_attachment" alignment="right" inset="300" />
    <layout class="stick_to_sides_attachment" alignment="top" inset="10"/>
    <attachment class="get_global_attachment" get_property="alrt" set_property="text"/>
    <attachment class="test_global_attachment" get_property="cont" value="-8" set_property="DTCE" skip_if_null="false" skip_if_resetting="false" priority="1"/>
    <attachment class="get_global_attachment" get_property="ttcl" set_property="colr"/>
    <record id="click_event" event_id="GOTO" scid="14"/>
    <!-- hide this panel if the game isn't set up yet -->
    <attachment class="test_global_attachment" get_property="scid" value="2" mode="0" set_property="hidn" skip_if_null="false" skip_if_resetting="false"/>
    </widget>
    <!-- active area -->
    <container>
    <!-- hide this panel if the game isn't set up yet -->
    <attachment class="test_global_attachment" get_property="scid" value="2" mode="0" set_property="hidn" skip_if_null="false" skip_if_resetting="false"/>
    <layout class="arrange_vertical_attachment" alignment="fill" offset="0" gap="0" layout="-1,21"/>
    <layout class="stick_to_sides_attachment" alignment="horizontal" inset="0" layout_children="true" />
    <layout class="stick_to_sides_attachment" alignment="all" inset="0" />
    <!-- Quick Links ; Notification Icons -->
    <container id="noti" file="footer quicklinks" hidden="true">
    <layout class="arrange_horizontal_attachment" alignment="left" offset="4" gap="4"/>
    </container>
    <!-- Breadcrumbs, Date -->
    <container >
    <layout class="stick_to_sides_attachment" alignment="all" inset="0" layout_children="true" />
    <attachment class="get_global_attachment" get_property="ttcl" set_property="colr"/>
    <container>
    <layout class="arrange_horizontal_attachment" alignment="left" offset="2"/>
    <!-- Back Button -->
    <widget class="action_button" auto_size="horizontal" appearance="button/quicknav/back/button">
    <layout class="stick_to_sides_attachment" alignment="bottom" inset="2" />
    <attachment class="get_global_attachment" get_property="disp" set_property="disa"/>
    <record id="click_event" event_id="GOTO" event_target="scrn" scin="-3"/>
    </widget>
    <!-- Continue Button -->
    <widget class="action_button" auto_size="horizontal" appearance="button/quicknav/continue/button">
    <layout class="stick_to_sides_attachment" alignment="bottom" inset="2" />
    <record id="click_event" event_id="CONT" event_target="scrn"/>
    <attachment class="test_global_attachment" get_property="cont" set_property="disa">
    <list id="value">
    <integer value="-8"/>
    <integer value="-5"/>
    </list>
    </attachment>
    <!-- match play text -->
    <attachment class="get_global_attachment" get_property="cttx" set_property="hint"/>
    </widget>
    <!-- Next Button -->
    <widget class="action_button" auto_size="horizontal" appearance="button/quicknav/next/button">
    <layout class="stick_to_sides_attachment" alignment="bottom" inset="2" />
    <attachment class="get_global_attachment" get_property="disn" set_property="disa"/>
    <record id="click_event" event_id="GOTO" event_target="scrn" scin="-2"/>
    </widget>
    <!-- Separator -->
    <widget class="picture" auto_size="all" file="button/quicknav/separator">
    <layout class="stick_to_sides_attachment" alignment="bottom" inset="3" />
    </widget>
    </container>
    <!-- Time and Date -->
    <container>
    <layout class="arrange_horizontal_attachment" alignment="left" offset="4" gap="4"/>
    <widget class="date_cell" id="date" text="date" standard_spec="text,large" alignment="left" auto_size="horizontal" >
    <attachment class="get_global_attachment" get_property="date" set_property="valu"/>
    <attachment class="test_global_attachment" get_property="cont" value="-8" set_property="hidn" skip_if_null="false" skip_if_resetting="false" priority="1"/>
    <attachment class="get_global_attachment" get_property="ttcl" set_property="colr"/>
    <layout class="stick_to_sides_attachment" alignment="bottom" inset="-7" />
    <string id="format">
    [%date#1-long] [%date#1-time] [COMMENT: date_format for metallic2007 FM skin]
    </string>
    <event id="click_event">
    <flags id="event_id" value="GCCA" />
    <flags id="event_target" value="scrn" />
    </event>
    </widget>
    </container>
    <!-- Breadcrumbs -->
    <container id="crum">
    <layout class="arrange_horizontal_attachment" alignment="left" offset="230"/>
    <layout class="stick_to_sides_attachment" alignment="bottom" inset="-3" layout_children="true"/>
    <attachment class="line_up_attachment" get_property="bcmb" submenu_type="bcrm"/>
    <!-- Arrange the children widgets from left to right, horizontally centrered -->
    <layout class="arrange_horizontal_attachment" alignment="left"/>
    </container>
    <container>
    <layout class="arrange_horizontal_attachment" alignment="right" offset="5"/>
    <!-- Full Screen Icon -->
    <container width="8"/>
    <widget class="text_button" text="Continue" auto_size="horizontal" font="fonts/lido" style="semi_bold" colour="yellow3" size="9">
    <attachment class="test_global_attachment" get_property="scid" set_property="hidn" skip_if_false="true">
    <unsigned id="value" value="2"/>
    </attachment>
    <layout class="stick_to_sides_attachment" alignment="bottom" inset="-3" />
    <layout class="stick_to_sides_attachment" alignment="right" inset="22" />
    <attachment class="test_global_attachment" get_property="FS " value="true" mode="0" set_property="hidn" skip_if_null="false" skip_if_resetting="false"/>
    <event id="click_event" event_id="CONT" event_target="scrn"/>
    </widget>
    </container>
    </container>
    </container>
    </panel>

Link to post
Share on other sites

Sorry, been watching something on TV.

Looking at that it's all a bit of a mess so probably the easiest way to do it is for you to change the inset value for the breadcrumbs.

<!-- Breadcrumbs -->
<container id="crum">
<layout class="arrange_horizontal_attachment" alignment="left" offset="230"/>

if you find that and change the 230 to something higher until it fits.

Another option is to shorten the date format so it just gives a number for the month. That'll leave you with more space and less movement. Find this piece of code:

<string id="format">
[%date#1-long] [%date#1-time] [COMMENT: date_format for metallic2007 FM skin]
</string>

and replace it with

<string id="format">
[%date#1-day] [%date#1-short] [%date#1-time] [COMMENT: date_format for metallic2007 FM skin]
</string>

If you combine the shorter date with a change in the breadcrumbs inset you'll probably end up with a decent solution.

Link to post
Share on other sites

Sorry, been watching something on TV.

Looking at that it's all a bit of a mess so probably the easiest way to do it is for you to change the inset value for the breadcrumbs.

<!-- Breadcrumbs -->
<container id="crum">
<layout class="arrange_horizontal_attachment" alignment="left" offset="230"/>

if you find that and change the 230 to something higher until it fits.

Another option is to shorten the date format so it just gives a number for the month. That'll leave you with more space and less movement. Find this piece of code:

<string id="format">
[%date#1-long] [%date#1-time] [COMMENT: date_format for metallic2007 FM skin]
</string>

and replace it with

<string id="format">
[%date#1-day] [%date#1-short] [%date#1-time] [COMMENT: date_format for metallic2007 FM skin]
</string>

If you combine the shorter date with a change in the breadcrumbs inset you'll probably end up with a decent solution.

No problem.

Would it be ok if i just change the number from 230 to a higher number, or would i need to change the date format too?

Just wondering as i'd like to keep the date format as it is.

I've changed the number to 250 and it seems ok, just need to wait for a long day/month to see if it as worked. :thup:

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