Files
@ 4778889395e8
Branch filter:
Location: ATITD-Tools/Desert-Paint-Codex/Views/SelectProfileView.axaml - annotation
4778889395e8
1.4 KiB
text/plain
Change the displayed permeutation count to display using locale-specific number formatting (with comma / dot separators). Fix a crash when starting a new round of recipe generation after recipe generation completed during a previous run.
40eaee10ae56 40eaee10ae56 40eaee10ae56 40eaee10ae56 40eaee10ae56 40eaee10ae56 40eaee10ae56 40eaee10ae56 40eaee10ae56 40eaee10ae56 40eaee10ae56 40eaee10ae56 40eaee10ae56 40eaee10ae56 40eaee10ae56 40eaee10ae56 40eaee10ae56 40eaee10ae56 40eaee10ae56 40eaee10ae56 40eaee10ae56 40eaee10ae56 40eaee10ae56 40eaee10ae56 40eaee10ae56 40eaee10ae56 40eaee10ae56 40eaee10ae56 40eaee10ae56 40eaee10ae56 40eaee10ae56 40eaee10ae56 40eaee10ae56 40eaee10ae56 40eaee10ae56 | <UserControl xmlns="https://github.com/avaloniaui"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:vm="using:DesertPaintCodex.ViewModels"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
mc:Ignorable="d" d:DesignWidth="296" d:DesignHeight="180"
Height="180"
x:Class="DesertPaintCodex.Views.SelectProfileView">
<Design.DataContext>
<vm:SelectProfileViewModel/>
</Design.DataContext>
<UserControl.Styles>
<Style Selector="TextBlock">
<Setter Property="FontSize" Value="16"/>
</Style>
</UserControl.Styles>
<DockPanel>
<TextBlock DockPanel.Dock="Top">Select a profile to open:</TextBlock>
<Grid DockPanel.Dock="Bottom" ColumnDefinitions="50,15,*,15,*" RowDefinitions="Auto" Margin="0 5 0 0">
<Button Name="NewProfile" Command="{Binding NewProfile}" Grid.Row="0" Grid.Column="0">
<Path Classes="AddProfile" VerticalAlignment="Center" Width="30" Height="24"/>
</Button>
<Button Name="Cancel" Command="{Binding Cancel}" Grid.Row="0" Grid.Column="2">Cancel</Button>
<Button Name="Ok" Command="{Binding Ok}" Grid.Row="0" Grid.Column="4">OK</Button>
</Grid>
<ListBox MinHeight="60" Items="{Binding Profiles}" SelectedItem="{Binding SelectedItem}" Margin="0,15"/>
</DockPanel>
</UserControl>
|