polish autodetection

This commit is contained in:
Alex Bezdieniezhnykh
2024-11-02 20:59:51 +02:00
parent 418a2116b7
commit addf7ccc11
6 changed files with 90 additions and 27 deletions
+10 -11
View File
@@ -3,27 +3,26 @@
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:extensions="clr-namespace:Azaion.Annotator.Extensions"
mc:Ignorable="d"
WindowStyle="SingleBorderWindow"
ResizeMode="NoResize"
Title="AutodetectDialog"
Height="250" Width="420"
Title="Розпізнавання"
Height="247" Width="400"
Background="LightGray">
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="40"></RowDefinition>
<RowDefinition Height="*"></RowDefinition>
<RowDefinition Height="70"></RowDefinition>
</Grid.RowDefinitions>
<TextBlock Grid.Row="0"
FontSize="18" TextAlignment="Center" Padding="0 10 0 0">Йде розпізнавання...</TextBlock>
<ScrollViewer Grid.Row="1">
<TextBlock
Name="TextBlockLog"
Padding="10 10 5 5"/>
<ScrollViewer Grid.Row="0"
extensions:ScrollViewerExtensions.AlwaysScrollToEnd="True">
<TextBlock
Name="TextBlockLog"
Padding="10 10 5 5"/>
</ScrollViewer>
<Button Grid.Row="2"
Width="50" Height="50" ToolTip="Видалити всі аннотації. Клавіша: [X]"
<Button Grid.Row="1"
Width="50" Height="50" ToolTip="Зупинити розпізнавання. [Esc]"
Background="LightGray" BorderBrush="LightGray"
Click="ButtonBase_OnClick">
<Path Stretch="Fill" Fill="Gray" Data="M12,2 C17.5228,2 22,6.47715 22,12 C22,17.5228 17.5228,22 12,22 C6.47715,22 2,17.5228 2,12 C2,6.47715 6.47715,2 12,2 Z