Skip to content

Commit

Permalink
0.75:
Browse files Browse the repository at this point in the history
- Upgrade to most recent Avalonia version.
- Support for nwn_retail.key (necessary for recent preview versions)
  • Loading branch information
Cjreek committed Jul 9, 2024
1 parent 0bb6ff8 commit b3e3d19
Show file tree
Hide file tree
Showing 94 changed files with 294 additions and 264 deletions.
2 changes: 1 addition & 1 deletion eos-edit/Services/WindowService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ private static Window NewWindow(DialogViewModel viewModel)
window.Content = viewModel;
window.DataContext = viewModel;
window.CanResize = viewModel.CanResize;
window.PlatformImpl?.ShowTaskbarIcon(false);
window.ShowInTaskbar = false;
}

return window;
Expand Down
2 changes: 1 addition & 1 deletion eos-edit/Usercontrols/AttackBonusTableComboBox.axaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
<ColumnDefinition Width="auto"/>
</Grid.ColumnDefinitions>

<ComboBox x:Name="cbAbTables" Grid.Column="0" Items="{Binding Source={x:Static repo:MasterRepository.AttackBonusTables}}" SelectedItem="{Binding ElementName=ucAttackBonusTableComboBox, Path=SelectedValue}" DisplayMemberBinding="{Binding Name}" Padding="3,0,0,0">
<ComboBox x:Name="cbAbTables" Grid.Column="0" ItemsSource="{Binding Source={x:Static repo:MasterRepository.AttackBonusTables}}" SelectedItem="{Binding ElementName=ucAttackBonusTableComboBox, Path=SelectedValue}" DisplayMemberBinding="{Binding Name}" Padding="3,0,0,0">
<ComboBox.ItemsPanel>
<ItemsPanelTemplate>
<VirtualizingStackPanel/>
Expand Down
2 changes: 1 addition & 1 deletion eos-edit/Usercontrols/BonusFeatTableComboBox.axaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
<ColumnDefinition Width="auto"/>
</Grid.ColumnDefinitions>

<ComboBox x:Name="cbBonusFeatTables" Grid.Column="0" Items="{Binding Source={x:Static repo:MasterRepository.BonusFeatTables}}" SelectedItem="{Binding ElementName=ucBonusFeatTableComboBox, Path=SelectedValue}" DisplayMemberBinding="{Binding Name}" Padding="3,0,0,0">
<ComboBox x:Name="cbBonusFeatTables" Grid.Column="0" ItemsSource="{Binding Source={x:Static repo:MasterRepository.BonusFeatTables}}" SelectedItem="{Binding ElementName=ucBonusFeatTableComboBox, Path=SelectedValue}" DisplayMemberBinding="{Binding Name}" Padding="3,0,0,0">
<ComboBox.ItemsPanel>
<ItemsPanelTemplate>
<VirtualizingStackPanel/>
Expand Down
2 changes: 1 addition & 1 deletion eos-edit/Usercontrols/CustomEnumComboBox.axaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
<ColumnDefinition Width="auto"/>
</Grid.ColumnDefinitions>

<ComboBox x:Name="cbEnum" Grid.Column="0" Items="{Binding Path=CustomEnum.Items}" SelectedItem="{Binding Path=SelectedValue, Mode=TwoWay}" DisplayMemberBinding="{Binding Label}"/>
<ComboBox x:Name="cbEnum" Grid.Column="0" ItemsSource="{Binding Path=CustomEnum.Items}" SelectedItem="{Binding Path=SelectedValue, Mode=TwoWay}" DisplayMemberBinding="{Binding Label}"/>
<Button x:Name="btClear" Grid.Column="1" Content="🞪" Click="btClear_Click" Margin="2,0,0,0"
Height="{Binding ElementName=cbEnum, Path=Bounds.Height}" Width="{Binding ElementName=cbEnum, Path=Bounds.Height}"
IsVisible="{Binding Path=IsNullable}"/>
Expand Down
2 changes: 1 addition & 1 deletion eos-edit/Usercontrols/DataTypeComboBox.axaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
<ColumnDefinition Width="auto"/>
</Grid.ColumnDefinitions>

<ComboBox x:Name="cbDataTypes" Grid.Column="0" Items="{Binding Source={x:Static repo:MasterRepository.DataTypes}}" SelectedItem="{Binding ElementName=ucDataTypeComboBox, Path=SelectedValue}" DisplayMemberBinding="{Binding Label}" Padding="3,0,0,0">
<ComboBox x:Name="cbDataTypes" Grid.Column="0" ItemsSource="{Binding Source={x:Static repo:MasterRepository.DataTypes}}" SelectedItem="{Binding ElementName=ucDataTypeComboBox, Path=SelectedValue}" DisplayMemberBinding="{Binding Label}" Padding="3,0,0,0">
<ComboBox.ItemsPanel>
<ItemsPanelTemplate>
<VirtualizingStackPanel/>
Expand Down
4 changes: 2 additions & 2 deletions eos-edit/Usercontrols/EnumComboBox.axaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,13 @@
</DataTemplate>
</UserControl.DataTemplates>

<Grid Margin="0" VerticalAlignment="Stretch" DataContext="{Binding RelativeSource={RelativeSource Mode=FindAncestor, AncestorType={x:Type local:EnumComboBox}}}">
<Grid Margin="0" VerticalAlignment="Stretch" DataContext="{Binding ElementName=ucEnumComboBox}">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*"/>
<ColumnDefinition Width="auto"/>
</Grid.ColumnDefinitions>

<ComboBox x:Name="cbEnum" HorizontalAlignment="Stretch" SelectedIndex="{Binding ElementName=ucEnumComboBox, Path=SelectedIndex}" Grid.Column="0" Items="{Binding Path=ItemsSource}" DisplayMemberBinding="{Binding DisplayName}"
<ComboBox x:Name="cbEnum" HorizontalAlignment="Stretch" SelectedIndex="{Binding ElementName=ucEnumComboBox, Path=SelectedIndex}" Grid.Column="0" ItemsSource="{Binding Path=ItemsSource}" DisplayMemberBinding="{Binding DisplayName}"
SelectedItem="{Binding Path=SelectedItem, Mode=TwoWay}" SelectedValueBinding="{Binding Value}" SelectedValue="{Binding SelectedValue, Mode=TwoWay}"
VerticalContentAlignment="Stretch" Padding="3,2,2,2"/>
<Button x:Name="btClear" Grid.Column="1" Content="🞪" Click="btClear_Click" Margin="2,0,0,0"
Expand Down
2 changes: 1 addition & 1 deletion eos-edit/Usercontrols/FeatPreferencesTableComboBox.axaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
<ColumnDefinition Width="auto"/>
</Grid.ColumnDefinitions>

<ComboBox x:Name="cbFeatPreferencesTables" Grid.Column="0" Items="{Binding Source={x:Static repo:MasterRepository.FeatPreferencesTables}}" SelectedItem="{Binding ElementName=ucFeatPreferencesTableComboBox, Path=SelectedValue}" DisplayMemberBinding="{Binding Name}" Padding="3,0,0,0">
<ComboBox x:Name="cbFeatPreferencesTables" Grid.Column="0" ItemsSource="{Binding Source={x:Static repo:MasterRepository.FeatPreferencesTables}}" SelectedItem="{Binding ElementName=ucFeatPreferencesTableComboBox, Path=SelectedValue}" DisplayMemberBinding="{Binding Name}" Padding="3,0,0,0">
<ComboBox.ItemsPanel>
<ItemsPanelTemplate>
<VirtualizingStackPanel/>
Expand Down
2 changes: 1 addition & 1 deletion eos-edit/Usercontrols/FeatTableComboBox.axaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
<ColumnDefinition Width="auto"/>
</Grid.ColumnDefinitions>

<ComboBox x:Name="cbFeatTables" Grid.Column="0" Items="{Binding Source={x:Static repo:MasterRepository.FeatTables}}" SelectedItem="{Binding ElementName=ucFeatTableComboBox, Path=SelectedValue}" DisplayMemberBinding="{Binding Name}" Padding="3,0,0,0">
<ComboBox x:Name="cbFeatTables" Grid.Column="0" ItemsSource="{Binding Source={x:Static repo:MasterRepository.FeatTables}}" SelectedItem="{Binding ElementName=ucFeatTableComboBox, Path=SelectedValue}" DisplayMemberBinding="{Binding Name}" Padding="3,0,0,0">
<ComboBox.ItemsPanel>
<ItemsPanelTemplate>
<VirtualizingStackPanel/>
Expand Down
2 changes: 1 addition & 1 deletion eos-edit/Usercontrols/FlagListbox.axaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
</ResourceDictionary>
</UserControl.Resources>

<ListBox Items="{Binding ElementName=ucFlagListbox, Path=ItemsSource}" BorderBrush="Silver" ScrollViewer.VerticalScrollBarVisibility="Hidden" ScrollViewer.HorizontalScrollBarVisibility="Hidden" Padding="0">
<ListBox ItemsSource="{Binding ElementName=ucFlagListbox, Path=ItemsSource}" BorderBrush="Silver" ScrollViewer.VerticalScrollBarVisibility="Hidden" ScrollViewer.HorizontalScrollBarVisibility="Hidden" Padding="0">
<ListBox.ItemsPanel>
<ItemsPanelTemplate>
<VirtualizingStackPanel Orientation="{Binding ElementName=ucFlagListbox, Path=Orientation}"/>
Expand Down
2 changes: 1 addition & 1 deletion eos-edit/Usercontrols/ItemPropertyCostTableComboBox.axaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
<ColumnDefinition Width="auto"/>
</Grid.ColumnDefinitions>

<ComboBox x:Name="cbItemPropertyCostTables" Grid.Column="0" Items="{Binding Source={x:Static repo:MasterRepository.ItemPropertyCostTables}}" SelectedItem="{Binding ElementName=ucItemPropertyCostTableComboBox, Path=SelectedValue}" DisplayMemberBinding="{Binding Name}" Padding="3,0,0,0">
<ComboBox x:Name="cbItemPropertyCostTables" Grid.Column="0" ItemsSource="{Binding Source={x:Static repo:MasterRepository.ItemPropertyCostTables}}" SelectedItem="{Binding ElementName=ucItemPropertyCostTableComboBox, Path=SelectedValue}" DisplayMemberBinding="{Binding Name}" Padding="3,0,0,0">
<ComboBox.ItemsPanel>
<ItemsPanelTemplate>
<VirtualizingStackPanel/>
Expand Down
2 changes: 1 addition & 1 deletion eos-edit/Usercontrols/ItemPropertyTableComboBox.axaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
<ColumnDefinition Width="auto"/>
</Grid.ColumnDefinitions>

<ComboBox x:Name="cbItemPropertyTables" Grid.Column="0" Items="{Binding Source={x:Static repo:MasterRepository.ItemPropertyTables}}" SelectedItem="{Binding ElementName=ucItemPropertyTableComboBox, Path=SelectedValue}" DisplayMemberBinding="{Binding Name}" Padding="3,0,0,0">
<ComboBox x:Name="cbItemPropertyTables" Grid.Column="0" ItemsSource="{Binding Source={x:Static repo:MasterRepository.ItemPropertyTables}}" SelectedItem="{Binding ElementName=ucItemPropertyTableComboBox, Path=SelectedValue}" DisplayMemberBinding="{Binding Name}" Padding="3,0,0,0">
<ComboBox.ItemsPanel>
<ItemsPanelTemplate>
<VirtualizingStackPanel/>
Expand Down
2 changes: 1 addition & 1 deletion eos-edit/Usercontrols/KnownSpellsTableComboBox.axaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
<ColumnDefinition Width="auto"/>
</Grid.ColumnDefinitions>

<ComboBox x:Name="cbKnownSpellsTables" Grid.Column="0" Items="{Binding Source={x:Static repo:MasterRepository.KnownSpellsTables}}" SelectedItem="{Binding ElementName=ucKnownSpellsTableComboBox, Path=SelectedValue}" DisplayMemberBinding="{Binding Name}" Padding="3,0,0,0">
<ComboBox x:Name="cbKnownSpellsTables" Grid.Column="0" ItemsSource="{Binding Source={x:Static repo:MasterRepository.KnownSpellsTables}}" SelectedItem="{Binding ElementName=ucKnownSpellsTableComboBox, Path=SelectedValue}" DisplayMemberBinding="{Binding Name}" Padding="3,0,0,0">
<ComboBox.ItemsPanel>
<ItemsPanelTemplate>
<VirtualizingStackPanel/>
Expand Down
2 changes: 1 addition & 1 deletion eos-edit/Usercontrols/PackageEquipmentTableComboBox.axaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
<ColumnDefinition Width="auto"/>
</Grid.ColumnDefinitions>

<ComboBox x:Name="cbPackageEquipmentTables" Grid.Column="0" Items="{Binding Source={x:Static repo:MasterRepository.PackageEquipmentTables}}" SelectedItem="{Binding ElementName=ucPackageEquipmentTableComboBox, Path=SelectedValue}" DisplayMemberBinding="{Binding Name}" Padding="3,0,0,0">
<ComboBox x:Name="cbPackageEquipmentTables" Grid.Column="0" ItemsSource="{Binding Source={x:Static repo:MasterRepository.PackageEquipmentTables}}" SelectedItem="{Binding ElementName=ucPackageEquipmentTableComboBox, Path=SelectedValue}" DisplayMemberBinding="{Binding Name}" Padding="3,0,0,0">
<ComboBox.ItemsPanel>
<ItemsPanelTemplate>
<VirtualizingStackPanel/>
Expand Down
2 changes: 1 addition & 1 deletion eos-edit/Usercontrols/PolymorphComboBox.axaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<ColumnDefinition Width="auto"/>
</Grid.ColumnDefinitions>

<ComboBox x:Name="cbPolymorphs" Grid.Column="0" Items="{Binding Source={x:Static repo:MasterRepository.Polymorphs}}" SelectedItem="{Binding ElementName=ucPolymorphComboBox, Path=SelectedValue}">
<ComboBox x:Name="cbPolymorphs" Grid.Column="0" ItemsSource="{Binding Source={x:Static repo:MasterRepository.Polymorphs}}" SelectedItem="{Binding ElementName=ucPolymorphComboBox, Path=SelectedValue}">
<ComboBox.ItemsPanel>
<ItemsPanelTemplate>
<VirtualizingStackPanel/>
Expand Down
2 changes: 1 addition & 1 deletion eos-edit/Usercontrols/PortraitComboBox.axaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
<ColumnDefinition Width="auto"/>
</Grid.ColumnDefinitions>

<ComboBox x:Name="cbPortraits" Grid.Column="0" Items="{Binding Source={x:Static repo:MasterRepository.Portraits}}" SelectedItem="{Binding ElementName=ucPortraitComboBox, Path=SelectedValue}" DisplayMemberBinding="{Binding ResRef}" Padding="3,0,0,0">
<ComboBox x:Name="cbPortraits" Grid.Column="0" ItemsSource="{Binding Source={x:Static repo:MasterRepository.Portraits}}" SelectedItem="{Binding ElementName=ucPortraitComboBox, Path=SelectedValue}" DisplayMemberBinding="{Binding ResRef}" Padding="3,0,0,0">
<ComboBox.ItemsPanel>
<ItemsPanelTemplate>
<VirtualizingStackPanel/>
Expand Down
2 changes: 1 addition & 1 deletion eos-edit/Usercontrols/PrerequisiteComboBox.axaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
<ColumnDefinition Width="auto"/>
</Grid.ColumnDefinitions>

<ComboBox x:Name="cbRequTables" Grid.Column="0" Items="{Binding Source={x:Static repo:MasterRepository.PrerequisiteTables}}" SelectedItem="{Binding ElementName=ucPrerequisiteComboBox, Path=SelectedValue}" DisplayMemberBinding="{Binding Name}" Padding="3,0,0,0">
<ComboBox x:Name="cbRequTables" Grid.Column="0" ItemsSource="{Binding Source={x:Static repo:MasterRepository.PrerequisiteTables}}" SelectedItem="{Binding ElementName=ucPrerequisiteComboBox, Path=SelectedValue}" DisplayMemberBinding="{Binding Name}" Padding="3,0,0,0">
<ComboBox.ItemsPanel>
<ItemsPanelTemplate>
<VirtualizingStackPanel/>
Expand Down
2 changes: 1 addition & 1 deletion eos-edit/Usercontrols/RacialFeatsTableComboBox.axaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
<ColumnDefinition Width="auto"/>
</Grid.ColumnDefinitions>

<ComboBox x:Name="cbRacialFeatTables" Grid.Column="0" Items="{Binding Source={x:Static repo:MasterRepository.RacialFeatsTables}}" SelectedItem="{Binding ElementName=ucRacialFeatsTableComboBox, Path=SelectedValue}" DisplayMemberBinding="{Binding Name}" Padding="3,0,0,0">
<ComboBox x:Name="cbRacialFeatTables" Grid.Column="0" ItemsSource="{Binding Source={x:Static repo:MasterRepository.RacialFeatsTables}}" SelectedItem="{Binding ElementName=ucRacialFeatsTableComboBox, Path=SelectedValue}" DisplayMemberBinding="{Binding Name}" Padding="3,0,0,0">
<ComboBox.ItemsPanel>
<ItemsPanelTemplate>
<VirtualizingStackPanel/>
Expand Down
2 changes: 1 addition & 1 deletion eos-edit/Usercontrols/SavingThrowTableComboBox.axaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
<ColumnDefinition Width="auto"/>
</Grid.ColumnDefinitions>

<ComboBox x:Name="cbSavesTables" Grid.Column="0" Items="{Binding Source={x:Static repo:MasterRepository.SavingThrowTables}}" SelectedItem="{Binding ElementName=ucSavingThrowTableComboBox, Path=SelectedValue}" DisplayMemberBinding="{Binding Name}" Padding="3,0,0,0">
<ComboBox x:Name="cbSavesTables" Grid.Column="0" ItemsSource="{Binding Source={x:Static repo:MasterRepository.SavingThrowTables}}" SelectedItem="{Binding ElementName=ucSavingThrowTableComboBox, Path=SelectedValue}" DisplayMemberBinding="{Binding Name}" Padding="3,0,0,0">
<ComboBox.ItemsPanel>
<ItemsPanelTemplate>
<VirtualizingStackPanel/>
Expand Down
2 changes: 1 addition & 1 deletion eos-edit/Usercontrols/SkillPreferencesTableComboBox.axaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
<ColumnDefinition Width="auto"/>
</Grid.ColumnDefinitions>

<ComboBox x:Name="cbSkillPreferencesTables" Grid.Column="0" Items="{Binding Source={x:Static repo:MasterRepository.SkillPreferencesTables}}" SelectedItem="{Binding ElementName=ucSkillPreferencesTableComboBox, Path=SelectedValue}" DisplayMemberBinding="{Binding Name}" Padding="3,0,0,0">
<ComboBox x:Name="cbSkillPreferencesTables" Grid.Column="0" ItemsSource="{Binding Source={x:Static repo:MasterRepository.SkillPreferencesTables}}" SelectedItem="{Binding ElementName=ucSkillPreferencesTableComboBox, Path=SelectedValue}" DisplayMemberBinding="{Binding Name}" Padding="3,0,0,0">
<ComboBox.ItemsPanel>
<ItemsPanelTemplate>
<VirtualizingStackPanel/>
Expand Down
2 changes: 1 addition & 1 deletion eos-edit/Usercontrols/SkillTableComboBox.axaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
<ColumnDefinition Width="auto"/>
</Grid.ColumnDefinitions>

<ComboBox x:Name="cbSkillTables" Grid.Column="0" Items="{Binding Source={x:Static repo:MasterRepository.SkillTables}}" SelectedItem="{Binding ElementName=ucSkillTableComboBox, Path=SelectedValue}" DisplayMemberBinding="{Binding Name}" Padding="3,0,0,0">
<ComboBox x:Name="cbSkillTables" Grid.Column="0" ItemsSource="{Binding Source={x:Static repo:MasterRepository.SkillTables}}" SelectedItem="{Binding ElementName=ucSkillTableComboBox, Path=SelectedValue}" DisplayMemberBinding="{Binding Name}" Padding="3,0,0,0">
<ComboBox.ItemsPanel>
<ItemsPanelTemplate>
<VirtualizingStackPanel/>
Expand Down
2 changes: 1 addition & 1 deletion eos-edit/Usercontrols/SoundsetComboBox.axaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<ColumnDefinition Width="auto"/>
</Grid.ColumnDefinitions>

<ComboBox x:Name="cbSoundsets" Grid.Column="0" Items="{Binding Source={x:Static repo:MasterRepository.Soundsets}}" SelectedItem="{Binding ElementName=ucSoundsetComboBox, Path=SelectedValue}">
<ComboBox x:Name="cbSoundsets" Grid.Column="0" ItemsSource="{Binding Source={x:Static repo:MasterRepository.Soundsets}}" SelectedItem="{Binding ElementName=ucSoundsetComboBox, Path=SelectedValue}">
<ComboBox.ItemsPanel>
<ItemsPanelTemplate>
<VirtualizingStackPanel />
Expand Down
2 changes: 1 addition & 1 deletion eos-edit/Usercontrols/SpellPreferencesTableComboBox.axaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
<ColumnDefinition Width="auto"/>
</Grid.ColumnDefinitions>

<ComboBox x:Name="cbSpellPreferencesTables" Grid.Column="0" Items="{Binding Source={x:Static repo:MasterRepository.SpellPreferencesTables}}" SelectedItem="{Binding ElementName=ucSpellPreferencesTableComboBox, Path=SelectedValue}" DisplayMemberBinding="{Binding Name}" Padding="3,0,0,0">
<ComboBox x:Name="cbSpellPreferencesTables" Grid.Column="0" ItemsSource="{Binding Source={x:Static repo:MasterRepository.SpellPreferencesTables}}" SelectedItem="{Binding ElementName=ucSpellPreferencesTableComboBox, Path=SelectedValue}" DisplayMemberBinding="{Binding Name}" Padding="3,0,0,0">
<ComboBox.ItemsPanel>
<ItemsPanelTemplate>
<VirtualizingStackPanel/>
Expand Down
2 changes: 1 addition & 1 deletion eos-edit/Usercontrols/SpellSlotTableComboBox.axaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
<ColumnDefinition Width="auto"/>
</Grid.ColumnDefinitions>

<ComboBox x:Name="cbSpellSlotTables" Grid.Column="0" Items="{Binding Source={x:Static repo:MasterRepository.SpellSlotTables}}" SelectedItem="{Binding ElementName=ucSpellSlotTableComboBox, Path=SelectedValue}" DisplayMemberBinding="{Binding Name}" Padding="3,0,0,0">
<ComboBox x:Name="cbSpellSlotTables" Grid.Column="0" ItemsSource="{Binding Source={x:Static repo:MasterRepository.SpellSlotTables}}" SelectedItem="{Binding ElementName=ucSpellSlotTableComboBox, Path=SelectedValue}" DisplayMemberBinding="{Binding Name}" Padding="3,0,0,0">
<ComboBox.ItemsPanel>
<ItemsPanelTemplate>
<VirtualizingStackPanel/>
Expand Down
2 changes: 1 addition & 1 deletion eos-edit/Usercontrols/SpellbookComboBox.axaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
<ColumnDefinition Width="auto"/>
</Grid.ColumnDefinitions>

<ComboBox x:Name="cbSpellbooks" Grid.Column="0" Items="{Binding Source={x:Static repo:MasterRepository.Spellbooks}}" SelectedItem="{Binding ElementName=ucSpellbookComboBox, Path=SelectedValue}" DisplayMemberBinding="{Binding Name}" Padding="3,0,0,0">
<ComboBox x:Name="cbSpellbooks" Grid.Column="0" ItemsSource="{Binding Source={x:Static repo:MasterRepository.Spellbooks}}" SelectedItem="{Binding ElementName=ucSpellbookComboBox, Path=SelectedValue}" DisplayMemberBinding="{Binding Name}" Padding="3,0,0,0">
<ComboBox.ItemsPanel>
<ItemsPanelTemplate>
<VirtualizingStackPanel/>
Expand Down
2 changes: 1 addition & 1 deletion eos-edit/Usercontrols/StatGainTableComboBox.axaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
<ColumnDefinition Width="auto"/>
</Grid.ColumnDefinitions>

<ComboBox x:Name="cbStatGainTables" Grid.Column="0" Items="{Binding Source={x:Static repo:MasterRepository.StatGainTables}}" SelectedItem="{Binding ElementName=ucStatGainTableComboBox, Path=SelectedValue}" DisplayMemberBinding="{Binding Name}" Padding="3,0,0,0">
<ComboBox x:Name="cbStatGainTables" Grid.Column="0" ItemsSource="{Binding Source={x:Static repo:MasterRepository.StatGainTables}}" SelectedItem="{Binding ElementName=ucStatGainTableComboBox, Path=SelectedValue}" DisplayMemberBinding="{Binding Name}" Padding="3,0,0,0">
<ComboBox.ItemsPanel>
<ItemsPanelTemplate>
<VirtualizingStackPanel/>
Expand Down
2 changes: 1 addition & 1 deletion eos-edit/Usercontrols/VisualEffectComboBox.axaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
<ColumnDefinition Width="auto"/>
</Grid.ColumnDefinitions>

<ComboBox x:Name="cbVisualEffects" Grid.Column="0" Items="{Binding Source={x:Static repo:MasterRepository.VisualEffects}}" SelectedItem="{Binding ElementName=ucVisualEffectComboBox, Path=SelectedValue}" DisplayMemberBinding="{Binding Name}" Padding="3,0,0,0">
<ComboBox x:Name="cbVisualEffects" Grid.Column="0" ItemsSource="{Binding Source={x:Static repo:MasterRepository.VisualEffects}}" SelectedItem="{Binding ElementName=ucVisualEffectComboBox, Path=SelectedValue}" DisplayMemberBinding="{Binding Name}" Padding="3,0,0,0">
<ComboBox.ItemsPanel>
<ItemsPanelTemplate>
<VirtualizingStackPanel/>
Expand Down
2 changes: 1 addition & 1 deletion eos-edit/Views/AppearanceSoundsetView.axaml
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@

<TextBlock Text="Extension Fields" HorizontalAlignment="Center" Grid.Row="0" Grid.Column="0" Grid.ColumnSpan="2" FontSize="22" Margin="0,0,0,10" FontWeight="Bold"/>

<ItemsRepeater Grid.Row="1" Grid.ColumnSpan="2" Items="{Binding Data.ExtensionValues}" ElementPrepared="ItemsRepeater_ElementPrepared">
<ItemsRepeater Grid.Row="1" Grid.ColumnSpan="2" ItemsSource="{Binding Data.ExtensionValues}" ElementPrepared="ItemsRepeater_ElementPrepared">
<ItemsRepeater.Layout>
<UniformGridLayout ItemsStretch="Fill" Orientation="Horizontal" MaximumRowsOrColumns="2" MinItemHeight="25"/>
</ItemsRepeater.Layout>
Expand Down
2 changes: 1 addition & 1 deletion eos-edit/Views/AppearanceView.axaml
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@

<TextBlock Text="Extension Fields" HorizontalAlignment="Center" Grid.Row="0" Grid.Column="0" Grid.ColumnSpan="2" FontSize="22" Margin="0,0,0,10" FontWeight="Bold"/>

<ItemsRepeater Grid.Row="1" Grid.ColumnSpan="2" Items="{Binding Data.ExtensionValues}" ElementPrepared="ItemsRepeater_ElementPrepared">
<ItemsRepeater Grid.Row="1" Grid.ColumnSpan="2" ItemsSource="{Binding Data.ExtensionValues}" ElementPrepared="ItemsRepeater_ElementPrepared">
<ItemsRepeater.Layout>
<UniformGridLayout ItemsStretch="Fill" Orientation="Horizontal" MaximumRowsOrColumns="2" MinItemHeight="25"/>
</ItemsRepeater.Layout>
Expand Down
Loading

0 comments on commit b3e3d19

Please sign in to comment.