Skip to content

Commit

Permalink
Add game and def version to menu bar
Browse files Browse the repository at this point in the history
  • Loading branch information
slotthhy committed Nov 8, 2023
1 parent 109af15 commit 3970a30
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Godbert/MainWindow.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
<Window.DataContext>
<vm:MainViewModel />
</Window.DataContext>
<DockPanel LastChildFill="True">
<Menu DockPanel.Dock="Top">
<DockPanel>
<Menu DockPanel.Dock="Top" HorizontalAlignment="Stretch">
<MenuItem Header="Language">
<MenuItem Header="English"
IsChecked="{Binding Path=IsEnglish, Mode=OneWay}"
Expand Down Expand Up @@ -51,6 +51,8 @@
IsChecked="{Binding Path=SortByOffsets, Mode=OneWay}"
Command="{Binding Path=SortByOffsetsCommand}" />
</MenuItem>
<MenuItem Header="{Binding Realm.GameVersion}" HeaderStringFormat="Game: {0}" IsEnabled="False" HorizontalAlignment="Right"/>
<MenuItem Header="{Binding Realm.DefinitionVersion}" HeaderStringFormat="Definition: {0}" IsEnabled="False" HorizontalAlignment="Right" />
</Menu>
<TabControl>
<TabItem Header="Data" DataContext="{Binding Path=Data}">
Expand Down

0 comments on commit 3970a30

Please sign in to comment.