aboutsummaryrefslogtreecommitdiffstatsci
path: root/Samples/DebugLogAnalyzer
diff options
context:
space:
mode:
authorJean-Philippe Bruyère <jp_bruyere@hotmail.com>2021-04-22 18:12:14 +0200
committerJean-Philippe Bruyère <jp_bruyere@hotmail.com>2021-04-22 18:12:14 +0200
commita515e31998f64f537e29cd30fdb7e9bfc7d4a02f (patch)
tree22dc8a0c6414b23dfb36fd3716e44ba342d3ae0e /Samples/DebugLogAnalyzer
parentd7bd85c20b11c4a3eb53b708524457a18e7ac025 (diff)
IToggle for TemplatedGroup recursion, Popper without checkbox in template, commands files split
Diffstat (limited to 'Samples/DebugLogAnalyzer')
-rw-r--r--Samples/DebugLogAnalyzer/ui/ComboBox.template30
-rw-r--r--Samples/DebugLogAnalyzer/ui/EnumSelector.template12
-rw-r--r--Samples/DebugLogAnalyzer/ui/dbg.style4
3 files changed, 4 insertions, 42 deletions
diff --git a/Samples/DebugLogAnalyzer/ui/ComboBox.template b/Samples/DebugLogAnalyzer/ui/ComboBox.template
deleted file mode 100644
index 1b8e439c..00000000
--- a/Samples/DebugLogAnalyzer/ui/ComboBox.template
+++ /dev/null
@@ -1,30 +0,0 @@
-<?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>
diff --git a/Samples/DebugLogAnalyzer/ui/EnumSelector.template b/Samples/DebugLogAnalyzer/ui/EnumSelector.template
index 2fffa3f8..01d04383 100644
--- a/Samples/DebugLogAnalyzer/ui/EnumSelector.template
+++ b/Samples/DebugLogAnalyzer/ui/EnumSelector.template
@@ -1,14 +1,10 @@
<?xml version="1.0"?>
<Popper >
<Template>
- <CheckBox IsChecked="{²./IsPopped}">
- <Template>
- <HorizontalStack Background="{../../../Background}" Margin="5" Spacing="10">
- <Label Text="{../../../../Caption}" Width="Stretched"/>
- <Label Background="SeaGreen" Text="{../../../../EnumValue}" Margin="3"/>
- </HorizontalStack>
- </Template>
- </CheckBox>
+ <HorizontalStack Background="{../../Background}" Margin="5" Spacing="10">
+ <Label Text="{../../../Caption}" Width="Stretched"/>
+ <Label Background="SeaGreen" Text="{../../../EnumValue}" Margin="3"/>
+ </HorizontalStack>
</Template>
<Wrapper Name="Content" Height="Fit" Width="{../PopWidth}" Background="Jet" />
</Popper> \ No newline at end of file
diff --git a/Samples/DebugLogAnalyzer/ui/dbg.style b/Samples/DebugLogAnalyzer/ui/dbg.style
index 90ec61da..33a5e9f4 100644
--- a/Samples/DebugLogAnalyzer/ui/dbg.style
+++ b/Samples/DebugLogAnalyzer/ui/dbg.style
@@ -22,10 +22,6 @@ DbgEventView {
Height="Fit";
Width="150";
}
-ComboBox {
- Template="#Dbg.ComboBox.template";
- Background="Jet";
-}
labWidgetRecordList {
Font="mono, 11";
Background="Grey";