|
578 | 578 | <Grid.RowDefinitions>
|
579 | 579 | <RowDefinition x:Name="RegexLanguageElementFirstRow" Height="*" MinHeight="50" />
|
580 | 580 | <RowDefinition Height="5" />
|
581 |
| - <RowDefinition Height="0.1*" MinHeight="20"/> |
| 581 | + <RowDefinition Height="0.2*" MinHeight="20"/> |
582 | 582 | </Grid.RowDefinitions>
|
583 | 583 | <DockPanel>
|
584 | 584 | <Grid DockPanel.Dock="Top">
|
|
680 | 680 | Grid.Row="1"
|
681 | 681 | VerticalAlignment="Stretch"
|
682 | 682 | HorizontalAlignment="Stretch"/>
|
683 |
| - <local:SearchableTextControl x:Name="tbxRegexLanguageElementDescription" |
684 |
| - Padding="2,0" |
685 |
| - Grid.Row="2" |
686 |
| - Focusable="True" |
687 |
| - BorderBrush="Gray" |
688 |
| - BorderThickness="1" |
689 |
| - Background="WhiteSmoke" |
690 |
| - ScrollViewer.HorizontalScrollBarVisibility="Disabled" |
691 |
| - ScrollViewer.VerticalScrollBarVisibility="Auto" |
692 |
| - SearchText="{Binding Text, ElementName=FindLanguageElementTextBox}" |
693 |
| - IsHighlight="True" |
694 |
| - IsMatchCase="False" |
695 |
| - IsSelectable="True" |
696 |
| - IsMatchAccents="False"/> |
| 683 | + <Border BorderThickness="1" |
| 684 | + BorderBrush="Gray" |
| 685 | + Grid.Row="2"> |
| 686 | + <ScrollViewer VerticalScrollBarVisibility="Auto"> |
| 687 | + <local:SearchableTextControl x:Name="tbxRegexLanguageElementDescription" |
| 688 | + Padding="2,0" |
| 689 | + Focusable="True" |
| 690 | + BorderThickness="0" |
| 691 | + Background="WhiteSmoke" |
| 692 | + ScrollViewer.HorizontalScrollBarVisibility="Disabled" |
| 693 | + SearchText="{Binding Text, ElementName=FindLanguageElementTextBox}" |
| 694 | + IsHighlight="True" |
| 695 | + IsMatchCase="False" |
| 696 | + IsSelectable="True" |
| 697 | + IsMatchAccents="False"/> |
| 698 | + </ScrollViewer> |
| 699 | + </Border> |
697 | 700 | </Grid>
|
698 | 701 | </TabItem>
|
699 | 702 | <TabItem Name="ReplaceTabItem" Header="_Replace Elements" >
|
700 | 703 | <Grid>
|
701 | 704 | <Grid.RowDefinitions>
|
702 | 705 | <RowDefinition x:Name="ReplaceLanguageElementFirstRow" Height="*" MinHeight="50" />
|
703 | 706 | <RowDefinition Height="5" />
|
704 |
| - <RowDefinition Height="0.1*" MinHeight="20" /> |
| 707 | + <RowDefinition Height="0.2*" MinHeight="20" /> |
705 | 708 | </Grid.RowDefinitions>
|
706 | 709 | <ListView Name="ReplaceLanguageElementsListView" SelectionChanged="ReplaceLanguageElementsListView_SelectionChanged">
|
707 | 710 | <ListView.ItemTemplate>
|
|
728 | 731 | </Grid>
|
729 | 732 | </TabItem>
|
730 | 733 | <TabItem x:Name="RegOptionsTabItem" Header="Regex Op_tions" >
|
731 |
| - <StackPanel> |
732 |
| - <ItemsControl Name="icRegexOptions"> |
733 |
| - <ItemsControl.ItemTemplate> |
734 |
| - <DataTemplate> |
735 |
| - <CheckBox IsChecked="{Binding Selected}" |
736 |
| - Content="{Binding Name}" |
737 |
| - ToolTip="{Binding Description}"/> |
738 |
| - </DataTemplate> |
739 |
| - </ItemsControl.ItemTemplate> |
740 |
| - </ItemsControl> |
741 |
| - <TextBlock> |
742 |
| - <Hyperlink NavigateUri="https://docs.microsoft.com/en-us/dotnet/api/system.text.regularexpressions.regexoptions" |
743 |
| - RequestNavigate="Hyperlink_RequestNavigate"> |
744 |
| - More informations on Regex options |
745 |
| - </Hyperlink> |
746 |
| - </TextBlock> |
747 |
| - |
748 |
| - </StackPanel> |
| 734 | + <Grid> |
| 735 | + <Grid.RowDefinitions> |
| 736 | + <RowDefinition Height="*" MinHeight="50" /> |
| 737 | + <RowDefinition Height="5" /> |
| 738 | + <RowDefinition Height="0.2*" MinHeight="20" /> |
| 739 | + </Grid.RowDefinitions> |
| 740 | + <StackPanelEx Margin="5" MarginBetweenChildren="5"> |
| 741 | + <ListBox Name="icRegexOptions" |
| 742 | + SelectionChanged="icRegexOptions_SelectionChanged" |
| 743 | + BorderThickness="0"> |
| 744 | + <ItemsControl.ItemTemplate> |
| 745 | + <DataTemplate> |
| 746 | + <CheckBox IsChecked="{Binding Selected}" |
| 747 | + Content="{Binding Name}" |
| 748 | + ToolTip="{Binding Description}"/> |
| 749 | + </DataTemplate> |
| 750 | + </ItemsControl.ItemTemplate> |
| 751 | + </ListBox> |
| 752 | + <TextBlock> |
| 753 | + <Hyperlink NavigateUri="https://docs.microsoft.com/en-us/dotnet/api/system.text.regularexpressions.regexoptions" |
| 754 | + RequestNavigate="Hyperlink_RequestNavigate"> |
| 755 | + More informations on Regex options |
| 756 | + </Hyperlink> |
| 757 | + </TextBlock> |
| 758 | + </StackPanelEx> |
| 759 | + <GridSplitter Grid.Row="1" |
| 760 | + VerticalAlignment="Stretch" |
| 761 | + HorizontalAlignment="Stretch"/> |
| 762 | + <TextBox Name="tbxRegexOptionDescription" |
| 763 | + IsReadOnly="True" |
| 764 | + TextWrapping="Wrap" |
| 765 | + Grid.Row="2" |
| 766 | + Background="WhiteSmoke" |
| 767 | + ScrollViewer.HorizontalScrollBarVisibility="Disabled" |
| 768 | + ScrollViewer.VerticalScrollBarVisibility="Auto"/> |
| 769 | + </Grid> |
749 | 770 | </TabItem>
|
750 | 771 | <TabItem x:Name="TextSourceTabItem" Header="Ot_her Options">
|
751 | 772 | <DockPanel>
|
|
0 commit comments