File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ public ObjectEditorModel()
55
55
{
56
56
Logger = new Logger ( ) ;
57
57
LoggerObservableLogs = [ ] ;
58
- Logger . LogAdded += ( sender , laea ) => LoggerObservableLogs . Add ( laea . Log ) ;
58
+ Logger . LogAdded += ( sender , laea ) => LoggerObservableLogs . Insert ( 0 , laea . Log ) ;
59
59
60
60
LoadSettings ( SettingsFile , Logger ) ;
61
61
}
Original file line number Diff line number Diff line change 245
245
</Menu >
246
246
<ToggleSwitch IsChecked =" {Binding IsDarkTheme, Mode=TwoWay}" HorizontalAlignment =" Right" OnContent =" {materialIcons:MaterialIconExt Kind=MoonWaningCrescent}" OffContent =" {materialIcons:MaterialIconExt Kind=WeatherSunny}" />
247
247
</DockPanel >
248
- <Expander Header =" Logs" Padding =" 0" ExpandDirection =" Down" DockPanel.Dock=" Bottom" HorizontalAlignment =" Stretch" Margin =" 8" >
248
+ <Expander Header =" Logs" Padding =" 0" ExpandDirection =" Down" DockPanel.Dock=" Bottom" HorizontalAlignment =" Stretch" Margin =" 8" MaxHeight = " 512 " >
249
249
<ScrollViewer HorizontalScrollBarVisibility =" Disabled" VerticalScrollBarVisibility =" Auto" >
250
- <DataGrid MinHeight =" 256" MaxHeight =" 1024" HorizontalAlignment =" Stretch" VerticalAlignment =" Stretch" ItemsSource =" {Binding Logs}" AutoGenerateColumns =" True" CanUserReorderColumns =" True" CanUserResizeColumns =" True" CanUserSortColumns =" False" />
250
+ <DataGrid MinHeight =" 256" MaxHeight =" 1024" HorizontalAlignment =" Stretch" VerticalAlignment =" Stretch" ItemsSource =" {Binding Logs}" AutoGenerateColumns =" True" CanUserReorderColumns =" True" CanUserResizeColumns =" True" CanUserSortColumns =" False" />
251
251
</ScrollViewer >
252
252
</Expander >
253
253
<Grid DataContext =" {Binding FolderTreeViewModel}" DockPanel.Dock=" Left" Margin =" 8" MinWidth =" 256" MaxWidth =" 512" >
You can’t perform that action at this time.
0 commit comments