81 lines
2.1 KiB
XML
81 lines
2.1 KiB
XML
<!-- Default formatting inherented from OptionPanel! -->
|
|
|
|
<!-- 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 -->
|
|
<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"
|
|
height="225"
|
|
width="350">
|
|
|
|
<!-- Header -->
|
|
<Row preferredHeight="50">
|
|
<Cell>
|
|
<Panel padding="10 10 0 0">
|
|
<!-- this part will be updated via script -->
|
|
<Text id="notificationHeader"
|
|
font="font_teutonic-arkham"
|
|
fontSize="30"
|
|
alignment="MiddleCenter">Placeholder</Text>
|
|
</Panel>
|
|
</Cell>
|
|
</Row>
|
|
|
|
<!-- patch highlights -->
|
|
<Row id="highlightRow"
|
|
preferredHeight="100">
|
|
<Cell>
|
|
<Panel padding="15 15 0 7">
|
|
<!-- this part will be updated via script -->
|
|
<Text id="releaseHighlightText"
|
|
resizeTextForBestFit="true">Placeholder</Text>
|
|
</Panel>
|
|
</Cell>
|
|
</Row>
|
|
|
|
<!-- 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" -->
|
|
<Row preferredHeight="50">
|
|
<Cell>
|
|
<HorizontalLayout minHeight="55"
|
|
flexibleHeight="0"
|
|
padding="10 10 5 10"
|
|
spacing="10">
|
|
<Button class="bottomButtons"
|
|
onClick="onClick_notification(dontShowAgain)">Don't show again</Button>
|
|
<Button class="bottomButtons"
|
|
onClick="onClick_notification(close)">Close</Button>
|
|
</HorizontalLayout>
|
|
</Cell>
|
|
</Row>
|
|
</TableLayout>
|