translation files

This commit is contained in:
stax76
2023-11-29 10:38:02 +01:00
parent 7879bda5c1
commit bdcfa4e722
35 changed files with 18106 additions and 903 deletions

View File

@@ -16,6 +16,7 @@
Background="{Binding Theme.Background}"
Loaded="Window_Loaded"
Closed="Window_Closed"
StateChanged="Window_StateChanged"
>
<Window.Resources>
@@ -136,6 +137,7 @@
<DataGridTextColumn
Header="Command"
x:Name="CommandColumn"
Binding="{Binding Command}"
MaxWidth="322"
/>

View File

@@ -168,4 +168,18 @@ public partial class InputWindow : Window
void DataGridCell_MouseLeftButtonUp(object sender, MouseButtonEventArgs e) =>
ShowLearnWindow(_focusedBinding);
void Window_StateChanged(object sender, EventArgs e)
{
if (WindowState == WindowState.Maximized)
{
CommandColumn.MaxWidth = 800;
CommandColumn.Width = 800;
}
else
{
CommandColumn.MaxWidth = 322;
CommandColumn.Width = 322;
}
}
}