79 lines
2.0 KiB
XML
79 lines
2.0 KiB
XML
<Defaults>
|
|
<Text color="#FFFFFF"
|
|
alignment="MiddleLeft" />
|
|
<Text class="releaseNote"
|
|
fontSize="18"/>
|
|
|
|
<!-- buttons at the bottom -->
|
|
<Button class="bottomButtons"
|
|
hoverClass="hover"
|
|
pressClass="press"
|
|
selectClass="select"
|
|
color="#888888"
|
|
minHeight="35"
|
|
fontSize="24"
|
|
font="font_teutonic-arkham"/>
|
|
<Button class="hover"
|
|
color="grey"/>
|
|
<Button class="press"
|
|
color="white"/>
|
|
<Button class="select"
|
|
color="white"/>
|
|
</Defaults>
|
|
|
|
<TableLayout id="updateNotification"
|
|
active="false"
|
|
color="#000000"
|
|
outlineSize="2 2"
|
|
outline="grey"
|
|
showAnimation="SlideIn_Top"
|
|
hideAnimation="SlideOut_Top"
|
|
animationDuration="0.2"
|
|
rectAlignment="UpperCenter"
|
|
offsetXY="0 -60"
|
|
height="300"
|
|
width="450">
|
|
|
|
<!-- Header -->
|
|
<Row preferredHeight="50">
|
|
<Cell>
|
|
<Panel padding="10 0 0 0">
|
|
<Text id="versionHeader"
|
|
font="font_teutonic-arkham"
|
|
fontSize="30"
|
|
alignment="MiddleCenter">New Version available: </Text>
|
|
</Panel>
|
|
</Cell>
|
|
</Row>
|
|
|
|
<!-- Scrollable part with release notes -->
|
|
<Row preferredHeight="200">
|
|
<Cell>
|
|
<VerticalScrollView horizontalScrollbarVisibility="AutohideAndExpandViewport">
|
|
<!-- this part will be updated via script -->
|
|
<VerticalLayout id="releaseNoteWrapper"
|
|
padding="10 0 0 0"
|
|
spacing="5">
|
|
<Text class="releaseNote">Entry 1</Text>
|
|
<Text class="releaseNote">Entry 2</Text>
|
|
</VerticalLayout>
|
|
</VerticalScrollView>
|
|
</Cell>
|
|
</Row>
|
|
|
|
<!-- Buttons: "Don't show again" and "Close" -->
|
|
<Row preferredHeight="50">
|
|
<Cell>
|
|
<HorizontalLayout minHeight="55"
|
|
flexibleHeight="0"
|
|
padding="10 10 5 10"
|
|
spacing="100">
|
|
<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>
|