aboutsummaryrefslogtreecommitdiffstatsci
path: root/Samples/DebugLogAnalyzer/ui
diff options
context:
space:
mode:
Diffstat (limited to 'Samples/DebugLogAnalyzer/ui')
-rw-r--r--Samples/DebugLogAnalyzer/ui/dbg.style5
-rw-r--r--Samples/DebugLogAnalyzer/ui/main.crow5
2 files changed, 7 insertions, 3 deletions
diff --git a/Samples/DebugLogAnalyzer/ui/dbg.style b/Samples/DebugLogAnalyzer/ui/dbg.style
index 33a5e9f4..ee2b14c1 100644
--- a/Samples/DebugLogAnalyzer/ui/dbg.style
+++ b/Samples/DebugLogAnalyzer/ui/dbg.style
@@ -17,6 +17,7 @@ DbgLogViewer {
MouseWheelSpeed="3";
Font="mono, 8";
Background="Onyx";
+ CacheEnabled = "true";
}
DbgEventView {
Height="Fit";
@@ -29,4 +30,8 @@ labWidgetRecordList {
Margin="0";
Width="24";
TextAlignment="Right";
+}
+
+DbgEventWidget {
+ CacheEnabled = "true";
} \ No newline at end of file
diff --git a/Samples/DebugLogAnalyzer/ui/main.crow b/Samples/DebugLogAnalyzer/ui/main.crow
index 28433b11..d6ed6054 100644
--- a/Samples/DebugLogAnalyzer/ui/main.crow
+++ b/Samples/DebugLogAnalyzer/ui/main.crow
@@ -70,11 +70,10 @@
</HorizontalStack>
<Label Background="Red" Foreground="White" Margin="5" Width="Stretched" Text="{../../../dbgIfaceWidget.CrowDebuggerErrorMessage}"
IsVisible="{../../../dbgIfaceWidget.CrowDebuggerNOK}"/>
- <HorizontalStack Height="Fit" Width="Stretched" IsEnabled="{../cbFile.IsChecked}" Background="Onyx" Margin="5">
+ <HorizontalStack Height="Fit" Width="Stretched" Background="Onyx" Margin="5">
<Label Text="Debug log output file:" Fit="true"/>
<TextBox Text="{²../../../../dbgIfaceWidget.DebugLogFilePath}" />
</HorizontalStack>
- <CheckBox Name="cbFile" Caption="Record to file" IsChecked="{²../../../dbgIfaceWidget.DebugLogToFile}" Background="Onyx"/>
<EnumSelector RadioButtonStyle="CheckBox2" Template="#Dbg.EnumSelector.template"
Background="Grey"
Caption="Recorded Events" EnumValue="{²RecordedEvents}" BitFieldExcludeMask="255" />
@@ -110,7 +109,7 @@
Recording="{²DebugLogRecording}"
IMLSource="{Source}"
CurrentException="{²CurrentException}"
- DiscardedEvents="{DiscardedEvents}" RecordedEvents="{RecordedEvents}" DebugLogToFile="{DebugLogToFile}"/>
+ DiscardedEvents="{DiscardedEvents}" RecordedEvents="{RecordedEvents}"/>
<Splitter/>
<!--<TabView>-->
<VerticalStack Name="Editor" Spacing="0">