added search bar and dropdown to XML
This commit is contained in:
parent
f2279c55bd
commit
2704465cc0
@ -71,6 +71,29 @@
|
||||
|
||||
<HorizontalLayout>
|
||||
<VerticalLayout preferredWidth="600">
|
||||
<!-- search bar and filter dropdown -->
|
||||
<HorizontalLayout preferredHeight="40"
|
||||
padding="5 5 10 0"
|
||||
spacing="5">
|
||||
<InputField id="searchField"
|
||||
preferredWidth="290"
|
||||
fontSize="22"
|
||||
placeholder="Search by name..."
|
||||
color="white"
|
||||
textColor="Black"
|
||||
textOffset="5 5 5 5"
|
||||
font="font_teutonic-arkham"
|
||||
onValueChanged="onSearchValueChanged"/>
|
||||
<Dropdown id="authorDropdown"
|
||||
preferredWidth="290"
|
||||
fontSize="22"
|
||||
font="font_teutonic-arkham"
|
||||
onValueChanged="onAuthorFilterChanged">
|
||||
<Option>All Authors</Option>
|
||||
<!-- this will be filled via scripting -->
|
||||
</Dropdown>
|
||||
</HorizontalLayout>
|
||||
|
||||
<!-- tab selection -->
|
||||
<HorizontalLayout preferredHeight="60"
|
||||
padding="5"
|
||||
@ -136,7 +159,7 @@
|
||||
resizeTextMaxSize="18">PreviewDescription</Text>
|
||||
</Panel>
|
||||
|
||||
<!-- download button / progress bar (visibility handled by lua code)-->
|
||||
<!-- download button / progress bar (visibility handled by lua code) -->
|
||||
<Panel preferredHeight="60">
|
||||
<!-- download button -->
|
||||
<Button id="download_button"
|
||||
|
Loading…
Reference in New Issue
Block a user