Skip to content

Commit f356792

Browse files
committed
set minimum size for hex viewer window so you can see everything
1 parent 8fb8943 commit f356792

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

Gui/Views/HexViewerWindow.axaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,16 @@
55
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
66
xmlns:gui="using:OpenLoco.Gui"
77
xmlns:vm="using:OpenLoco.Gui.ViewModels"
8-
mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450"
8+
mc:Ignorable="d" d:DesignWidth="1024" d:DesignHeight="768"
99
x:Class="OpenLoco.Gui.Views.HexViewerWindow"
1010
x:DataType="vm:HexWindowViewModel"
1111
Title="HexViewerWindow"
1212
WindowStartupLocation="CenterOwner"
1313
SystemDecorations="Full"
14-
Width="800"
15-
Height="600"
16-
ShowInTaskbar="False">
14+
ShowInTaskbar="False"
15+
MinWidth="1024"
16+
Width="1260"
17+
Height="768">
1718

1819
<DockPanel Background="{DynamicResource ExpanderContentBackground}">
1920
<ScrollViewer>
@@ -39,11 +40,10 @@
3940
<Grid DockPanel.Dock="Left" Margin="4" x:DataType="vm:HexAnnotationLine">
4041
<Grid.ColumnDefinitions>
4142
<ColumnDefinition Width="Auto"/>
42-
<ColumnDefinition Width="*"/>
43+
<ColumnDefinition Width="768"/>
4344
</Grid.ColumnDefinitions>
4445
<Border Grid.Column="0" Grid.ColumnSpan="1" Background="{DynamicResource ButtonBackgroundPointerOver}">
4546
<TextBlock Text="{Binding Address}" VerticalAlignment="Center" Margin="4" FontFamily="Courier New" FontWeight="Bold" />
46-
4747
</Border>
4848
<SelectableTextBlock Grid.Column="1" Margin="4" Text="{Binding Data}" VerticalAlignment="Center" FontFamily="Courier New" SelectionStart="{Binding SelectionStart}" SelectionEnd="{Binding SelectionEnd}" />
4949
</Grid>

0 commit comments

Comments
 (0)