aboutsummaryrefslogtreecommitdiffstatsci
path: root/Samples/DebugLogViewer/ui/EnumSelector.template
diff options
context:
space:
mode:
authorJean-Philippe Bruyère <jp_bruyere@hotmail.com>2025-07-16 20:08:03 +0200
committerJean-Philippe Bruyère <jp_bruyere@hotmail.com>2025-07-16 20:08:03 +0200
commit149205e8ebe5c4ab1ca52ca700ff754aabdf14aa (patch)
treee0d567ae9a304ec915e49a25e42af1803e3d83ed /Samples/DebugLogViewer/ui/EnumSelector.template
parente96fecb4bb512ee47e9df0224e779b24d686bc30 (diff)
DebugLogViewer, DockTests
Diffstat (limited to 'Samples/DebugLogViewer/ui/EnumSelector.template')
-rw-r--r--Samples/DebugLogViewer/ui/EnumSelector.template21
1 files changed, 21 insertions, 0 deletions
diff --git a/Samples/DebugLogViewer/ui/EnumSelector.template b/Samples/DebugLogViewer/ui/EnumSelector.template
new file mode 100644
index 00000000..3472ec0d
--- /dev/null
+++ b/Samples/DebugLogViewer/ui/EnumSelector.template
@@ -0,0 +1,21 @@
+<?xml version="1.0"?>
+<!--<Popper >
+ <Template>
+ <HorizontalStack Background="{../../Background}" Margin="5" Spacing="10">
+ <Label Text="{../../../Caption}" Width="Stretched"/>
+ <Label Background="SeaGreen" Text="{../../../EnumValue}" Margin="3" Width="Stretched"/>
+ </HorizontalStack>
+ </Template>
+ <Wrapper Name="Content" Height="300" Width="Fit" Background="Jet" Orientation="Horizontal" />
+</Popper>-->
+<Border Style="ControlBorder" Background="{./Background}" CornerRadius="{./CornerRadius}">
+ <HorizontalStack>
+ <Label Text="{./Caption}"/>
+ <Popper Caption="{./EnumValue}" >
+ <Template>
+ <Label Style="ControlCaption" Text="{./Caption}" Foreground="{./Foreground}" MinimumSize="80,1" TextAlignment="Center"/>
+ </Template>
+ <Wrapper Name="Content" Background="Onyx" Width="60%" Height="Fit" Margin="5" Orientation="Vertical"/>
+ </Popper>
+ </HorizontalStack>
+</Border> \ No newline at end of file