SCED/xml/UpdateNotification.xml

80 lines
2.0 KiB
XML
Raw Normal View History

2023-04-18 16:49:25 -04:00
<!-- Default formatting inherented from OptionPanel! -->
2023-04-14 11:34:02 -04:00
2023-04-18 17:35:46 -04:00
<!-- Icon with Finn, which can be clicked -->
<Image id="FinnIcon"
active="false"
showAnimation="SlideIn_Top"
hideAnimation="SlideOut_Top"
animationDuration="0.2"
rectAlignment="UpperLeft"
offsetXY="420 -5"
height="90"
width="90"
onClick="onClick_FinnIcon"
image="FinnIcon"
tooltip="Update notification"
tooltipBackgroundColor="rgba(0,0,0,0.8)"/>
<!-- main notification window -->
2023-04-14 11:34:02 -04:00
<TableLayout id="updateNotification"
active="false"
color="#000000"
outlineSize="2 2"
outline="grey"
showAnimation="SlideIn_Top"
hideAnimation="SlideOut_Top"
animationDuration="0.2"
rectAlignment="UpperLeft"
offsetXY="60 -5"
2023-04-18 18:41:49 -04:00
height="225"
2023-04-18 14:25:29 -04:00
width="350">
2023-04-14 11:34:02 -04:00
<!-- Header -->
2023-04-14 11:52:08 -04:00
<Row preferredHeight="50">
2023-04-14 11:34:02 -04:00
<Cell>
2023-04-18 16:49:25 -04:00
<Panel padding="10 10 0 0">
<Text id="notificationHeader"
2023-04-14 11:34:02 -04:00
font="font_teutonic-arkham"
fontSize="30"
alignment="MiddleCenter">New version available: </Text>
2023-04-14 11:34:02 -04:00
</Panel>
</Cell>
</Row>
2023-04-18 14:25:29 -04:00
<!-- patch highlights -->
<Row id="highlightRow"
preferredHeight="100">
<Cell>
2023-04-18 17:35:46 -04:00
<Panel padding="15 15 0 7">
2023-04-18 16:49:25 -04:00
<!-- this part will be updated via script -->
<Text id="releaseHighlightText"
resizeTextForBestFit="true">Placeholder</Text>
</Panel>
2023-04-18 14:25:29 -04:00
</Cell>
</Row>
2023-04-18 18:41:49 -04:00
<!-- explanation -->
<Row preferredHeight="25">
<Cell>
<Panel padding="15 15 0 7">
<Text resizeTextForBestFit="true">Visit the usual place to receive this update.</Text>
</Panel>
</Cell>
</Row>
<!-- Buttons: "Don't show again" and "Close" -->
2023-04-14 11:34:02 -04:00
<Row preferredHeight="50">
<Cell>
<HorizontalLayout minHeight="55"
flexibleHeight="0"
padding="10 10 5 10"
spacing="10">
2023-04-14 11:34:02 -04:00
<Button class="bottomButtons"
onClick="onClick_notification(dontNotify)">Don't show again</Button>
<Button class="bottomButtons"
onClick="onClick_notification(close)">Close</Button>
</HorizontalLayout>
</Cell>
</Row>
</TableLayout>