SCED/xml/UpdateNotification.xml
2023-04-16 23:10:23 +02:00

45 lines
1.2 KiB
XML

<!-- Default formatting inherented from OptionPanel! -->
<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="100"
width="500">
<!-- Header -->
<Row preferredHeight="50">
<Cell>
<Panel padding="10 0 0 0">
<Text id="notificationHeader"
font="font_teutonic-arkham"
fontSize="30"
alignment="MiddleCenter">New version available: </Text>
</Panel>
</Cell>
</Row>
<!-- Buttons: "Don't show again", "Details" and "Close" -->
<Row preferredHeight="50">
<Cell>
<HorizontalLayout minHeight="55"
flexibleHeight="0"
padding="10 10 5 10"
spacing="10">
<Button class="bottomButtons"
onClick="onClick_notification(dontNotify)">Don't show again</Button>
<Button class="bottomButtons"
onClick="onClick_notification(details)">Show details</Button>
<Button class="bottomButtons"
onClick="onClick_notification(close)">Close</Button>
</HorizontalLayout>
</Cell>
</Row>
</TableLayout>