aboutsummaryrefslogtreecommitdiffstatsci
path: root/Samples/DebugLogAnalyzer/ui/ComboBox.template
diff options
context:
space:
mode:
authorJean-Philippe Bruyère <jp_bruyere@hotmail.com>2021-04-15 06:28:27 +0200
committerJean-Philippe Bruyère <jp_bruyere@hotmail.com>2021-04-15 06:28:27 +0200
commit412e93ade521562145cf602cd340c4485fa15e37 (patch)
tree3f62500e2698bce844937ec36349dc2dc917dd50 /Samples/DebugLogAnalyzer/ui/ComboBox.template
parenta08929b22ac6b6371585beec221c3efebc3b8a71 (diff)
wip
Diffstat (limited to 'Samples/DebugLogAnalyzer/ui/ComboBox.template')
-rw-r--r--Samples/DebugLogAnalyzer/ui/ComboBox.template30
1 files changed, 30 insertions, 0 deletions
diff --git a/Samples/DebugLogAnalyzer/ui/ComboBox.template b/Samples/DebugLogAnalyzer/ui/ComboBox.template
new file mode 100644
index 00000000..1b8e439c
--- /dev/null
+++ b/Samples/DebugLogAnalyzer/ui/ComboBox.template
@@ -0,0 +1,30 @@
+<?xml version="1.0"?>
+<HorizontalStack Spacing="5" Background="{./Background}">
+ <Label Text="{./Caption}"/>
+ <Popper Caption="{./SelectedItem}" Name="popper" PopDirection="Bottom" Foreground="{./Foreground}" Background="{./Background}">
+ <Template>
+ <CheckBox Caption="{./Caption}" IsChecked="{²./IsPopped}" Foreground="{./Foreground}" Background="{./Background}">
+ <Template>
+ <Border Style="ControlBorder" Background="{./Background}">
+ <HorizontalStack Margin="0" Spacing="1">
+ <TextBox Style="ControlEditableText" Text="{./Caption}"/>
+ <Shape Style="ArrowBut" MouseDown="./onScrollForth" Width="10" Height="Stretched"
+ Size="10,10" Path="M 0.5,0.5 L 9.5,0.5 L 4.5,9.5 Z F"/>
+ </HorizontalStack>
+ </Border>
+ </Template>
+ </CheckBox>
+ </Template>
+ <Border Background="Onyx" Foreground="DimGrey" BorderWidth="1" Margin="1" Height="Fit" Width="Fit"
+ MinimumSize="{../../MinimumPopupSize}" >
+ <Scroller Name="scroller1" Margin="1"
+ MaximumSize="0,200"
+ HorizontalAlignment="Left">
+ <VerticalStack
+ Height="Fit" Name="ItemsContainer" Margin="0"
+ HorizontalAlignment="Left"
+ VerticalAlignment="Top"/>
+ </Scroller>
+ </Border>
+ </Popper>
+</HorizontalStack>