|
@@ -14,6 +14,7 @@
|
|
xmlns:dialogs="clr-namespace:PixiEditor.Views.Dialogs"
|
|
xmlns:dialogs="clr-namespace:PixiEditor.Views.Dialogs"
|
|
xmlns:helpers="clr-namespace:PixiEditor.Helpers"
|
|
xmlns:helpers="clr-namespace:PixiEditor.Helpers"
|
|
xmlns:ui="clr-namespace:PixiEditor.Extensions.UI;assembly=PixiEditor.Extensions"
|
|
xmlns:ui="clr-namespace:PixiEditor.Extensions.UI;assembly=PixiEditor.Extensions"
|
|
|
|
+ xmlns:b="http://schemas.microsoft.com/xaml/behaviors"
|
|
x:Class="PixiEditor.Views.Dialogs.PalettesBrowser"
|
|
x:Class="PixiEditor.Views.Dialogs.PalettesBrowser"
|
|
mc:Ignorable="d"
|
|
mc:Ignorable="d"
|
|
WindowStartupLocation="CenterScreen"
|
|
WindowStartupLocation="CenterScreen"
|
|
@@ -81,7 +82,13 @@
|
|
<usercontrols:InputBox
|
|
<usercontrols:InputBox
|
|
Text="{Binding NameFilter, Delay=100, ElementName=palettesBrowser, UpdateSourceTrigger=PropertyChanged}"
|
|
Text="{Binding NameFilter, Delay=100, ElementName=palettesBrowser, UpdateSourceTrigger=PropertyChanged}"
|
|
VerticalAlignment="Center"
|
|
VerticalAlignment="Center"
|
|
- Style="{StaticResource DarkTextBoxStyle}" Width="150" />
|
|
|
|
|
|
+ Style="{StaticResource DarkTextBoxStyle}" Width="150">
|
|
|
|
+ <b:Interaction.Behaviors>
|
|
|
|
+ <behaviours:TextBoxFocusBehavior SelectOnMouseClick="True" ConfirmOnEnter="True"
|
|
|
|
+ FocusNext="{Binding ElementName=numberInput, Path=FocusNext}"/>
|
|
|
|
+ <behaviours:GlobalShortcutFocusBehavior/>
|
|
|
|
+ </b:Interaction.Behaviors>
|
|
|
|
+ </usercontrols:InputBox>
|
|
|
|
|
|
<Label Margin="10 0 0 0" ui:Translator.Key="COLORS" Style="{StaticResource BaseLabel}" VerticalAlignment="Center"/>
|
|
<Label Margin="10 0 0 0" ui:Translator.Key="COLORS" Style="{StaticResource BaseLabel}" VerticalAlignment="Center"/>
|
|
<ComboBox x:Name="colorsComboBox" VerticalAlignment="Center" SelectionChanged="ColorsComboBox_SelectionChanged">
|
|
<ComboBox x:Name="colorsComboBox" VerticalAlignment="Center" SelectionChanged="ColorsComboBox_SelectionChanged">
|