mirror of
https://github.com/crskycode/GARbro.git
synced 2024-11-27 15:44:00 +08:00
19 lines
1.3 KiB
XML
19 lines
1.3 KiB
XML
<Grid x:Class="GameRes.Formats.GUI.CreateAMIWidget"
|
|
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:local="clr-namespace:GameRes.Formats.GUI">
|
|
<StackPanel Orientation="Vertical" Margin="0">
|
|
<Label Target="{Binding ElementName=BaseArchive}" ToolTip="{x:Static s:arcStrings.AMIBaseTooltip}" Padding="1,0,0,5">
|
|
<CheckBox Name="UseBaseArchive" Content="{x:Static s:arcStrings.AMIBaseArchive}"
|
|
IsChecked="{Binding Source={x:Static p:Settings.Default}, Path=AMIUseBaseArchive, Mode=TwoWay}"/>
|
|
</Label>
|
|
<StackPanel Orientation="Horizontal" IsEnabled="{Binding ElementName=UseBaseArchive, Path=IsChecked}">
|
|
<TextBox Name="BaseArchive" Width="200" Text="{Binding Source={x:Static p:Settings.Default}, Path=AMIBaseArchive, Mode=TwoWay}" ToolTip="{x:Static s:arcStrings.AMIBaseTooltip}" HorizontalAlignment="Left"/>
|
|
<Button Content="..." Height="{Binding ElementName=BaseArchive, Path=ActualHeight}" Width="{Binding Path=Height, RelativeSource={RelativeSource Self}, Mode=OneWay}"
|
|
Margin="7,0,0,0" Click="Browse_Click"/>
|
|
</StackPanel>
|
|
</StackPanel>
|
|
</Grid>
|