70 lines
1.8 KiB
XML
70 lines
1.8 KiB
XML
<!-- Default formatting partly inherented from OptionPanel! -->
|
|
<Defaults>
|
|
<!-- table entries -->
|
|
<Text class="releaseHighlight"
|
|
fontSize="16"/>
|
|
<Row class="releaseHighlight"
|
|
preferredHeight="50"/>
|
|
<Cell class="releaseHighlight"
|
|
color="#333333"/>
|
|
</Defaults>
|
|
|
|
<!-- Window with release highlights -->
|
|
<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="200"
|
|
width="350">
|
|
|
|
<!-- 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>
|
|
|
|
<!-- patch highlights -->
|
|
<Row id="highlightRow"
|
|
preferredHeight="100">
|
|
<Cell>
|
|
<!-- this part will be updated via script -->
|
|
<TableLayout id="releaseHighlightWrapper"
|
|
autoCalculateHeight="1"
|
|
cellPadding="10 15 5 5">
|
|
<Row class="releaseHighlight">
|
|
<Cell class="releaseHighlight">
|
|
<Text class="releaseHighlight">Placeholder</Text>
|
|
</Cell>
|
|
</Row>
|
|
</TableLayout>
|
|
</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(close)">Close</Button>
|
|
</HorizontalLayout>
|
|
</Cell>
|
|
</Row>
|
|
</TableLayout>
|