mirror of
https://github.com/crskycode/GARbro.git
synced 2024-12-29 22:34:13 +08:00
19 lines
1.1 KiB
XML
19 lines
1.1 KiB
XML
<Grid x:Class="GameRes.Formats.GUI.WidgetYPF"
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
xmlns:s="clr-namespace:GameRes.Formats.Strings"
|
|
xmlns:p="clr-namespace:GameRes.Formats.Properties"
|
|
xmlns:gui="clr-namespace:GameRes.Formats.GUI"
|
|
MaxWidth="250">
|
|
<Grid.Resources>
|
|
<gui:KeyToStringConverter x:Key="guiKeyConverter" />
|
|
</Grid.Resources>
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition Width="Auto"/>
|
|
<ColumnDefinition MinWidth="50" Width="*"/>
|
|
</Grid.ColumnDefinitions>
|
|
<Label Content="{x:Static s:arcStrings.YPFLabelKey}" Target="{Binding ElementName=Passkey}" ToolTip="{x:Static s:arcStrings.TooltipHex}" Grid.Column="0" Grid.Row="0" Padding="0,1" VerticalAlignment="Center" HorizontalAlignment="Right"/>
|
|
<TextBox Name="Passkey" Text="{Binding Source={x:Static p:Settings.Default}, Path=YPFKey, Mode=TwoWay, Converter={StaticResource guiKeyConverter}}"
|
|
ToolTip="{x:Static s:arcStrings.TooltipHex}" Margin="5" Width="50" Grid.Column="1" Grid.Row="0"/>
|
|
</Grid>
|