Fix UI alignment and order of log messages

This commit is contained in:
Stone_Red
2022-05-06 15:32:21 +02:00
parent a282049074
commit faec5d20bb
2 changed files with 4 additions and 4 deletions
+3 -3
View File
@@ -5,14 +5,14 @@
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:local="clr-namespace:ClipCMD"
mc:Ignorable="d"
Title="MainWindow" Height="450" Width="800">
Title="ClipCMD" Height="450" Width="800">
<DockPanel>
<StackPanel DockPanel.Dock="Top" Orientation="Horizontal">
<Label Content="Prefix" />
<Label Content="Prefix:" Width="45" />
<TextBox x:Name="prefixTextBox" KeyUp="FixTextBox_TextChanged" Text="01" />
</StackPanel>
<StackPanel DockPanel.Dock="Top" Orientation="Horizontal">
<Label Content="Suffix" />
<Label Content="Suffix:" Width="45" />
<TextBox x:Name="suffixTextBox" KeyUp="FixTextBox_TextChanged" Text="01" />
</StackPanel>
+1 -1
View File
@@ -127,7 +127,7 @@ public partial class MainWindow : Window
}
catch (Exception ex)
{
logListBox.Items.Add($"Error: {ex.Message}");
logListBox.Items.Insert(0, $"Error: {ex.Message}");
Debug.WriteLine(ex);
}
}