|
740 | 740 | Label="{Binding Localization[ResetAllPhrases]}" |
741 | 741 | Click="ResetAllPhrases_MairaButton_Click" |
742 | 742 | IsSmall="True" |
743 | | - VerticalAlignment="Top" /> |
| 743 | + VerticalAlignment="Top" |
| 744 | + Visibility="Collapsed" /> |
744 | 745 | </Grid> |
745 | 746 |
|
746 | 747 | <!-- Status text --> |
|
786 | 787 | </Grid.ColumnDefinitions> |
787 | 788 |
|
788 | 789 | <controls:MairaTextBox Grid.Column="0" |
789 | | - Value="{Binding Text, Mode=TwoWay, UpdateSourceTrigger=LostFocus}" |
790 | | - Tag="{Binding}" |
791 | | - LostFocus="PhraseTextBox_LostFocus" /> |
| 790 | + Value="{Binding Text, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" |
| 791 | + Tag="{Binding}" |
| 792 | + LostFocus="PhraseTextBox_LostFocus" /> |
792 | 793 |
|
793 | 794 | <controls:MairaButton Grid.Column="2" |
794 | | - Icon="/MarvinsAIRARefactored;component/Artwork/Buttons/vibrate.png" |
795 | | - IsSmall="True" |
796 | | - Tag="{Binding}" |
797 | | - Click="TestPhrase_MairaButton_Click" |
798 | | - VerticalAlignment="Bottom" /> |
| 795 | + Icon="/MarvinsAIRARefactored;component/Artwork/Buttons/vibrate.png" |
| 796 | + IsSmall="True" |
| 797 | + Tag="{Binding}" |
| 798 | + Click="TestPhrase_MairaButton_Click" |
| 799 | + VerticalAlignment="Bottom" /> |
799 | 800 |
|
800 | 801 | <controls:MairaButton Grid.Column="4" |
801 | | - Icon="/MarvinsAIRARefactored;component/Artwork/Buttons/minus.png" |
802 | | - IsSmall="True" |
803 | | - Tag="{Binding}" |
804 | | - Click="RemovePhrase_MairaButton_Click" |
805 | | - VerticalAlignment="Bottom" /> |
| 802 | + Icon="/MarvinsAIRARefactored;component/Artwork/Buttons/minus.png" |
| 803 | + IsSmall="True" |
| 804 | + Tag="{Binding}" |
| 805 | + Click="RemovePhrase_MairaButton_Click" |
| 806 | + VerticalAlignment="Bottom" /> |
806 | 807 | </Grid> |
807 | 808 | </DataTemplate> |
808 | 809 | </ItemsControl.ItemTemplate> |
|
818 | 819 | </Grid.ColumnDefinitions> |
819 | 820 |
|
820 | 821 | <controls:MairaButton Grid.Column="0" |
821 | | - Icon="/MarvinsAIRARefactored;component/Artwork/Buttons/plus.png" |
822 | | - Label="{Binding DataContext.Localization[AddPhrase], RelativeSource={RelativeSource AncestorType=UserControl}}" |
823 | | - IsSmall="True" |
824 | | - Tag="{Binding}" |
825 | | - Click="AddPhrase_MairaButton_Click" /> |
| 822 | + Icon="/MarvinsAIRARefactored;component/Artwork/Buttons/plus.png" |
| 823 | + Label="{Binding DataContext.Localization[AddPhrase], RelativeSource={RelativeSource AncestorType=UserControl}}" |
| 824 | + IsSmall="True" |
| 825 | + Tag="{Binding}" |
| 826 | + Click="AddPhrase_MairaButton_Click" /> |
826 | 827 |
|
827 | 828 | <controls:MairaButton Grid.Column="2" |
828 | | - Icon="/MarvinsAIRARefactored;component/Artwork/Buttons/reset.png" |
829 | | - Label="{Binding DataContext.Localization[ResetEventPhrases], RelativeSource={RelativeSource AncestorType=UserControl}}" |
830 | | - IsSmall="True" |
831 | | - Tag="{Binding}" |
832 | | - Click="ResetEventPhrases_MairaButton_Click" /> |
| 829 | + Icon="/MarvinsAIRARefactored;component/Artwork/Buttons/reset.png" |
| 830 | + Label="{Binding DataContext.Localization[ResetEventPhrases], RelativeSource={RelativeSource AncestorType=UserControl}}" |
| 831 | + IsSmall="True" |
| 832 | + Tag="{Binding}" |
| 833 | + Click="ResetEventPhrases_MairaButton_Click" /> |
833 | 834 | </Grid> |
834 | 835 |
|
835 | 836 | </StackPanel> |
|
0 commit comments