Skip to content

Commit

Permalink
Centered Initialization of Forms and Consistent Element Positioning (#…
Browse files Browse the repository at this point in the history
…293)

* Centered Initialization of Forms and Consistent Element Positioning

Now, all forms are initialized centered on the screen.
WindowStartupLocation="CenterOwner">

Adjustments have been made to ensure consistent element positioning, providing a more organized and user-friendly experience in MainWindow.axaml.

* Update App.axaml

* Update InfoWindow.axaml

* Update MainWindow.axaml
  • Loading branch information
DanielSvoboda authored Nov 3, 2024
1 parent f18b11c commit 0797bad
Show file tree
Hide file tree
Showing 24 changed files with 121 additions and 88 deletions.
3 changes: 2 additions & 1 deletion TexturePlugin/EditDialog.axaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
mc:Ignorable="d" d:DesignWidth="300" d:DesignHeight="360"
Width="300" Height="360"
x:Class="TexturePlugin.EditDialog"
Title="Texture Edit">
Title="Texture Edit"
WindowStartupLocation="CenterOwner">
<Grid>
<Grid Margin="10,10,10,10">
<Grid VerticalAlignment="Top">
Expand Down
3 changes: 2 additions & 1 deletion TexturePluginPreview/MainWindow.axaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450"
x:Class="TexturePluginPreview.MainWindow"
Title="TexturePluginPreview">
Title="TexturePluginPreview"
WindowStartupLocation="CenterOwner">
Welcome to Avalonia!
</Window>
3 changes: 2 additions & 1 deletion UABEAvalonia/Forms/About.axaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
Icon="/Assets/uabeavalonia16.ico"
CanResize="False"
x:Class="UABEAvalonia.About"
Title="About Unity Assets Bundle Extractor Avalonia">
Title="About Unity Assets Bundle Extractor Avalonia"
WindowStartupLocation="CenterOwner">
<Grid Margin="10,10,10,10">
<StackPanel Orientation="Vertical">
<Image Source="/Assets/uabeavalonia64.png" HorizontalAlignment="Left" Width="64" Height="64" />
Expand Down
3 changes: 2 additions & 1 deletion UABEAvalonia/Forms/AddAssetWindow.axaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
Width="300" Height="200"
Icon="/Assets/uabeavalonia16.ico"
x:Class="UABEAvalonia.AddAssetWindow"
Title="Add asset">
Title="Add asset"
WindowStartupLocation="CenterOwner">
<Grid Margin="10,10,10,10">
<Grid VerticalAlignment="Top">
<Grid.ColumnDefinitions>
Expand Down
3 changes: 2 additions & 1 deletion UABEAvalonia/Forms/AddDependencyWindow.axaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
Width="350" Height="160"
Icon="/Assets/uabeavalonia16.ico"
x:Class="UABEAvalonia.AddDependencyWindow"
Title="Add dependency">
Title="Add dependency"
WindowStartupLocation="CenterOwner">
<Grid Margin="10,10,10,10">
<Grid VerticalAlignment="Top">
<Grid.ColumnDefinitions>
Expand Down
3 changes: 2 additions & 1 deletion UABEAvalonia/Forms/AssetsFileInfo/AssetsFileInfoWindow.axaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
Width="650" Height="450"
Icon="/Assets/uabeavalonia16.ico"
x:Class="UABEAvalonia.AssetsFileInfoWindow"
Title="Assets File Header/Metadata Info">
Title="Assets File Header/Metadata Info"
WindowStartupLocation="CenterOwner">
<Grid Margin="10">
<Grid.RowDefinitions>
<RowDefinition Height="*" />
Expand Down
3 changes: 2 additions & 1 deletion UABEAvalonia/Forms/DataWindow.axaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
Width="350" Height="550"
Icon="/Assets/uabeavalonia16.ico"
x:Class="UABEAvalonia.DataWindow"
Title="View Data">
Title="View Data"
WindowStartupLocation="CenterOwner">
<uabea:AssetDataTreeView Name="treeView" />
</Window>
3 changes: 2 additions & 1 deletion UABEAvalonia/Forms/EditDataWindow.axaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
Width="350" Height="550"
Icon="/Assets/uabeavalonia16.ico"
x:Class="UABEAvalonia.EditDataWindow"
Title="Edit Data">
Title="Edit Data"
WindowStartupLocation="CenterOwner">
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="*" />
Expand Down
3 changes: 2 additions & 1 deletion UABEAvalonia/Forms/ExportBatchChooseTypeDialog.axaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
Icon="/Assets/uabeavalonia16.ico"
x:Class="UABEAvalonia.ExportBatchChooseTypeDialog"
Title="Batch Export"
CanResize="False">
CanResize="False"
WindowStartupLocation="CenterOwner">
<Grid>
<ComboBox Margin="10,10,10,0" VerticalAlignment="Top" Height="26" SelectedIndex="0" Name="comboFileType">
<ComboBoxItem>PNG</ComboBoxItem>
Expand Down
3 changes: 2 additions & 1 deletion UABEAvalonia/Forms/FilterAssetTypeDialog.axaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
mc:Ignorable="d" d:DesignWidth="300" d:DesignHeight="500"
Width="300" Height="500"
x:Class="UABEAvalonia.FilterAssetTypeDialog"
Title="Type Filter">
Title="Type Filter"
WindowStartupLocation="CenterOwner">
<Grid Margin="10,10,10,10">
<Grid.RowDefinitions>
<RowDefinition Height="*" />
Expand Down
3 changes: 2 additions & 1 deletion UABEAvalonia/Forms/GameObjectViewWindow.axaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
Width="700" Height="450"
Icon="/Assets/uabeavalonia16.ico"
x:Class="UABEAvalonia.GameObjectViewWindow"
Title="GameObject Viewer">
Title="GameObject Viewer"
WindowStartupLocation="CenterOwner">
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="26" />
Expand Down
3 changes: 2 additions & 1 deletion UABEAvalonia/Forms/GoToAssetDialog.axaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
Width="300" Height="110"
Icon="/Assets/uabeavalonia16.ico"
x:Class="UABEAvalonia.GoToAssetDialog"
Title="Go to asset">
Title="Go to asset"
WindowStartupLocation="CenterOwner">
<Grid Margin="10,10,10,10">
<Grid VerticalAlignment="Top">
<Grid.ColumnDefinitions>
Expand Down
3 changes: 2 additions & 1 deletion UABEAvalonia/Forms/ImportBatch.axaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
Width="700" Height="350"
Icon="/Assets/uabeavalonia16.ico"
x:Class="UABEAvalonia.ImportBatch"
Title="Batch import">
Title="Batch import"
WindowStartupLocation="CenterOwner">
<Grid Margin="10,10,10,10">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="0.6*"></ColumnDefinition>
Expand Down
3 changes: 2 additions & 1 deletion UABEAvalonia/Forms/ImportSerializedDialog.axaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
Icon="/Assets/uabeavalonia16.ico"
x:Class="UABEAvalonia.ImportSerializedDialog"
Title="Import"
CanResize="False">
CanResize="False"
WindowStartupLocation="CenterOwner">
<Grid>
<TextBlock Margin="10,20,10,0" VerticalAlignment="Top" Text="Is this asset serialized ?" TextAlignment="Center" FontWeight="Bold" FontSize="14" />
<Grid Margin="10,10,10,10" VerticalAlignment="Bottom">
Expand Down
87 changes: 47 additions & 40 deletions UABEAvalonia/Forms/InfoWindow.axaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,14 @@
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:local="clr-namespace:UABEAvalonia"
mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="500"
Width="800" Height="500"
mc:Ignorable="d" d:DesignWidth="1100" d:DesignHeight="500"
Width="1100" Height="500"
Icon="/Assets/uabeavalonia16.ico"
x:Class="UABEAvalonia.InfoWindow"
Title="Assets Info">
Title="Assets Info"
WindowStartupLocation="CenterOwner">
<Window.Resources>
<local:AssetTypeIconConverter x:Key="AssetTypeIconConverter" />
<local:AssetTypeIconConverter x:Key="AssetTypeIconConverter" />
</Window.Resources>
<Grid>
<Menu Height="22" VerticalAlignment="Top">
Expand Down Expand Up @@ -38,33 +39,33 @@
</Menu>
<TextBlock Margin="10,32,10,0" VerticalAlignment="Top" Text="Assets" />
<Border Margin="10,53,200,10" BorderBrush="Black" BorderThickness="1">
<DataGrid AutoGenerateColumns="False" CanUserResizeColumns="True" IsReadOnly="True" Name="dataGrid">
<DataGrid.RowTheme>
<ControlTheme TargetType="DataGridRow" BasedOn="{StaticResource {x:Type DataGridRow}}">
<ControlTheme.Children>
<Style Selector="^:nth-child(2n)">
<Setter Property="Background" Value="#00FFFFFF" />
</Style>
</ControlTheme.Children>
</ControlTheme>
</DataGrid.RowTheme>
<DataGrid.Columns>
<DataGridTemplateColumn Header=" ">
<DataGridTemplateColumn.CellTemplate>
<DataTemplate>
<Image Source="{Binding TypeClass, Converter={StaticResource AssetTypeIconConverter}}" Width="16" Height="16" />
</DataTemplate>
</DataGridTemplateColumn.CellTemplate>
</DataGridTemplateColumn>
<DataGridTextColumn Header="Name" Binding="{Binding Name}"/>
<DataGridTextColumn Header="Container" Binding="{Binding Container}"/>
<DataGridTextColumn Header="Type" Binding="{Binding Type}"/>
<DataGridTextColumn Header="File ID" Binding="{Binding FileID}"/>
<DataGridTextColumn Header="Path ID" Binding="{Binding PathID}"/>
<DataGridTextColumn Header="Size" Binding="{Binding Size}"/>
<DataGridTextColumn Header="Modified" Binding="{Binding Modified}"/>
</DataGrid.Columns>
</DataGrid>
<DataGrid AutoGenerateColumns="False" CanUserResizeColumns="True" IsReadOnly="True" Name="dataGrid">
<DataGrid.RowTheme>
<ControlTheme TargetType="DataGridRow" BasedOn="{StaticResource {x:Type DataGridRow}}">
<ControlTheme.Children>
<Style Selector="^:nth-child(2n)">
<Setter Property="Background" Value="#00FFFFFF" />
</Style>
</ControlTheme.Children>
</ControlTheme>
</DataGrid.RowTheme>
<DataGrid.Columns>
<DataGridTemplateColumn Header=" ">
<DataGridTemplateColumn.CellTemplate>
<DataTemplate>
<Image Source="{Binding TypeClass, Converter={StaticResource AssetTypeIconConverter}}" Width="16" Height="16" />
</DataTemplate>
</DataGridTemplateColumn.CellTemplate>
</DataGridTemplateColumn>
<DataGridTextColumn Header="Name" Binding="{Binding Name}"/>
<DataGridTextColumn Header="Container" Binding="{Binding Container}"/>
<DataGridTextColumn Header="Type" Binding="{Binding Type}"/>
<DataGridTextColumn Header="File ID" Binding="{Binding FileID}"/>
<DataGridTextColumn Header="Path ID" Binding="{Binding PathID}"/>
<DataGridTextColumn Header="Size" Binding="{Binding Size}"/>
<DataGridTextColumn Header="Modified" Binding="{Binding Modified}"/>
</DataGrid.Columns>
</DataGrid>
</Border>
<StackPanel Margin="0,53,10,10" HorizontalAlignment="Right" Width="185">
<Label Content="Name"/>
Expand All @@ -75,15 +76,21 @@
<TextBox TextWrapping="WrapWithOverflow" Text="" IsReadOnly="True" Name="boxFileId" />
<Label Content="Type"/>
<TextBox TextWrapping="WrapWithOverflow" Text="" IsReadOnly="True" Name="boxType" />
<Button HorizontalAlignment="Stretch" HorizontalContentAlignment="Center" Content="View Data" Name="btnViewData" />
<Button HorizontalAlignment="Stretch" HorizontalContentAlignment="Center" Content="View Scene" Name="btnSceneView" />
<Button HorizontalAlignment="Stretch" HorizontalContentAlignment="Center" Content="Export Raw" Name="btnExportRaw" />
<Button HorizontalAlignment="Stretch" HorizontalContentAlignment="Center" Content="Export Dump" Name="btnExportDump" />
<Button HorizontalAlignment="Stretch" HorizontalContentAlignment="Center" Content="Plugins" Name="btnPlugin" />
<Button HorizontalAlignment="Stretch" HorizontalContentAlignment="Center" Content="Import Raw" Name="btnImportRaw" />
<Button HorizontalAlignment="Stretch" HorizontalContentAlignment="Center" Content="Import Dump" Name="btnImportDump" />
<Button HorizontalAlignment="Stretch" HorizontalContentAlignment="Center" Content="Edit Data" Name="btnEditData" />
<Button HorizontalAlignment="Stretch" HorizontalContentAlignment="Center" Content="Remove" Name="btnRemove" />
<UniformGrid Columns="2" >
<Button HorizontalAlignment="Stretch" HorizontalContentAlignment="Center" Content="View Data" Name="btnViewData" Margin="5"/>
<Button HorizontalAlignment="Stretch" HorizontalContentAlignment="Center" Content="View Scene" Name="btnSceneView" Margin="5"/>

<Button HorizontalAlignment="Stretch" HorizontalContentAlignment="Center" Content="Import Raw" Name="btnImportRaw" Margin="5"/>
<Button HorizontalAlignment="Stretch" HorizontalContentAlignment="Center" Content="Export Raw" Name="btnExportRaw" Margin="5"/>

<Button HorizontalAlignment="Stretch" HorizontalContentAlignment="Center" Content="Import Dump" Name="btnImportDump" Margin="5"/>
<Button HorizontalAlignment="Stretch" HorizontalContentAlignment="Center" Content="Export Dump" Name="btnExportDump" Margin="5"/>

<Button HorizontalAlignment="Stretch" HorizontalContentAlignment="Center" Content="Edit Data" Name="btnEditData" Margin="5"/>
<Button HorizontalAlignment="Stretch" HorizontalContentAlignment="Center" Content="Remove" Name="btnRemove" Margin="5"/>
</UniformGrid>
<Button HorizontalAlignment="Stretch" HorizontalContentAlignment="Center" Content="Plugins" Name="btnPlugin" Margin="5"/>

</StackPanel>
</Grid>
</Window>
3 changes: 2 additions & 1 deletion UABEAvalonia/Forms/LoadModPackageDialog.axaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
Width="300" Height="400"
Icon="/Assets/uabeavalonia16.ico"
x:Class="UABEAvalonia.LoadModPackageDialog"
Title="Load Package">
Title="Load Package"
WindowStartupLocation="CenterOwner">
<Grid Margin="10,10,10,10">
<Grid Margin="0,0,0,31">
<Grid.ColumnDefinitions>
Expand Down
56 changes: 30 additions & 26 deletions UABEAvalonia/Forms/MainWindow.axaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
Icon="/Assets/uabeavalonia16.ico"
x:Class="UABEAvalonia.MainWindow"
Title="UABEA"
DragDrop.AllowDrop="True">
DragDrop.AllowDrop="True"
WindowStartupLocation="CenterOwner">
<Grid>
<Menu Height="22" VerticalAlignment="Top" Name="menuMain">
<MenuItem Header="File">
Expand All @@ -21,16 +22,16 @@
<MenuItem Header="Exit" HotKey="Ctrl+Q" InputGesture="Ctrl+Q" Name="menuExit" />
</MenuItem>
<MenuItem Header="Options">
<MenuItem Header="Toggle Dark Theme" Name="menuToggleDarkTheme" />
<MenuItem Header="Enable/Disable Cpp2Il" Name="menuToggleCpp2Il" />
<MenuItem Header="Toggle Dark Theme" Name="menuToggleDarkTheme" />
<MenuItem Header="Enable/Disable Cpp2Il" Name="menuToggleCpp2Il" />
</MenuItem>
<MenuItem Header="Help">
<MenuItem Header="About..." Name="menuAbout" />
</MenuItem>
</Menu>

<TextBlock Margin="10,32,10,0" VerticalAlignment="Top" Text="No file opened." TextAlignment="Center" FontWeight="Bold" FontSize="14" Name="lblFileName" />
<ComboBox Margin="10,56,10,0" VerticalAlignment="Top" Height="26" IsEnabled="False" Name="comboBox">
<ComboBox Margin="10,56,10,0" VerticalAlignment="Top" Height="30" IsEnabled="False" Name="comboBox">
<ComboBox.ItemTemplate>
<DataTemplate>
<TextBlock Text="{Binding}" Foreground="{Binding Color}" />
Expand All @@ -43,28 +44,31 @@
<RowDefinition Height="*"></RowDefinition>
<RowDefinition Height="*"></RowDefinition>
</Grid.RowDefinitions>
<Grid Grid.Row="0">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*"></ColumnDefinition>
<ColumnDefinition Width="*"></ColumnDefinition>
<ColumnDefinition Width="*"></ColumnDefinition>
<ColumnDefinition Width="*"></ColumnDefinition>
</Grid.ColumnDefinitions>
<Button Grid.Column="0" HorizontalAlignment="Stretch" HorizontalContentAlignment="Center" IsEnabled="False" Name="btnExport">Export</Button>
<Button Grid.Column="1" HorizontalAlignment="Stretch" HorizontalContentAlignment="Center" IsEnabled="False" Name="btnImport">Import</Button>
<Button Grid.Column="2" HorizontalAlignment="Stretch" HorizontalContentAlignment="Center" IsEnabled="False" Name="btnExportAll">Export All</Button>
<Button Grid.Column="3" HorizontalAlignment="Stretch" HorizontalContentAlignment="Center" IsEnabled="False" Name="btnImportAll">Import All</Button>
</Grid>
<Grid Grid.Row="1">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*"></ColumnDefinition>
<ColumnDefinition Width="*"></ColumnDefinition>
<ColumnDefinition Width="*"></ColumnDefinition>
</Grid.ColumnDefinitions>
<Button Grid.Column="0" HorizontalAlignment="Stretch" HorizontalContentAlignment="Center" IsEnabled="False" Name="btnRename">Rename</Button>
<Button Grid.Column="1" HorizontalAlignment="Stretch" HorizontalContentAlignment="Center" IsEnabled="False" Name="btnRemove">Remove</Button>
<Button Grid.Column="2" HorizontalAlignment="Stretch" HorizontalContentAlignment="Center" IsEnabled="False" Name="btnInfo">Info</Button>
</Grid>
<Grid Grid.Row="0">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*"></ColumnDefinition>
<ColumnDefinition Width="*"></ColumnDefinition>
<ColumnDefinition Width="*"></ColumnDefinition>
<ColumnDefinition Width="*"></ColumnDefinition>
</Grid.ColumnDefinitions>
<Button Grid.Column="0" HorizontalAlignment="Left" IsEnabled="False" Name="btnExport" Width="90" Height="26">Export</Button>
<Button Grid.Column="1" HorizontalAlignment="Left" IsEnabled="False" Name="btnExportAll" Width="90" Height="26">Export All</Button>
<Button Grid.Column="2" HorizontalAlignment="Left" IsEnabled="False" Name="btnRename" Width="90" Height="26">Rename</Button>
<Grid Grid.Column="3" Grid.Row="0" VerticalAlignment="Top" HorizontalAlignment="Right" Margin="0,29,19,0">
<Button HorizontalAlignment="Left" IsEnabled="False" Name="btnInfo" Width="95" Height="55">Info</Button>
</Grid>
</Grid>
<Grid Grid.Row="1">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*"></ColumnDefinition>
<ColumnDefinition Width="*"></ColumnDefinition>
<ColumnDefinition Width="*"></ColumnDefinition>
<ColumnDefinition Width="*"></ColumnDefinition>
</Grid.ColumnDefinitions>
<Button Grid.Column="0" Grid.Row="1" HorizontalAlignment="Left" IsEnabled="False" Name="btnImport" Width="90">Import</Button>
<Button Grid.Column="1" Grid.Row="1" HorizontalAlignment="Left" IsEnabled="False" Name="btnImportAll" Width="90">Import All</Button>
<Button Grid.Column="2" Grid.Row="1" HorizontalAlignment="Left" IsEnabled="False" Name="btnRemove" Width="90">Remove</Button>
</Grid>
</Grid>
</Grid>
</Window>
3 changes: 2 additions & 1 deletion UABEAvalonia/Forms/ModMakerDialog.axaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
Width="500" Height="250"
Icon="/Assets/uabeavalonia16.ico"
x:Class="UABEAvalonia.ModMakerDialog"
Title="Mod Maker Package Creator">
Title="Mod Maker Package Creator"
WindowStartupLocation="CenterOwner">
<Grid Margin="10,10,10,10">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="0.5*"></ColumnDefinition>
Expand Down
3 changes: 2 additions & 1 deletion UABEAvalonia/Forms/PluginWindow.axaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
Width="300" Height="450"
Icon="/Assets/uabeavalonia16.ico"
x:Class="UABEAvalonia.PluginWindow"
Title="Plugins">
Title="Plugins"
WindowStartupLocation="CenterOwner">
<Grid>
<ListBox Margin="10,10,10,45" Name="boxPluginList" />
<Grid Margin="10,10,10,10" VerticalAlignment="Bottom">
Expand Down
3 changes: 2 additions & 1 deletion UABEAvalonia/Forms/ProgressWindow.axaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
mc:Ignorable="d" d:DesignWidth="400" d:DesignHeight="100"
Width="400" Height="100"
x:Class="UABEAvalonia.ProgressWindow"
Title="">
Title=""
WindowStartupLocation="CenterOwner">
<Grid Margin="10,10,10,10">
<Grid.RowDefinitions>
<RowDefinition Height="*"/>
Expand Down
3 changes: 2 additions & 1 deletion UABEAvalonia/Forms/RenameWindow.axaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
mc:Ignorable="d" d:DesignWidth="300" d:DesignHeight="120"
Width="300" Height="120"
x:Class="UABEAvalonia.RenameWindow"
Title="RenameWindow">
Title="RenameWindow"
WindowStartupLocation="CenterOwner">
<Grid Margin="10,10,10,10">
<Grid VerticalAlignment="Top">
<Grid.ColumnDefinitions>
Expand Down
3 changes: 2 additions & 1 deletion UABEAvalonia/Forms/SearchDialog.axaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
Width="300" Height="120"
Icon="/Assets/uabeavalonia16.ico"
x:Class="UABEAvalonia.SearchDialog"
Title="Search">
Title="Search"
WindowStartupLocation="CenterOwner">
<Grid Margin="10,10,10,10">
<Grid VerticalAlignment="Top">
<Grid.ColumnDefinitions>
Expand Down
Loading

0 comments on commit 0797bad

Please sign in to comment.