Skip to content

Commit

Permalink
Some tweaks to improve the new UI on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
Sappharad committed Nov 30, 2024
1 parent 92ac6ab commit d290437
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 4 deletions.
Binary file added GDIBuilderUI/GDIBuilder2.Wpf/BlankMedia.ico
Binary file not shown.
10 changes: 8 additions & 2 deletions GDIBuilderUI/GDIBuilder2.Wpf/GDIBuilder2.Wpf.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,20 @@
<PropertyGroup>
<OutputType>WinExe</OutputType>
<TargetFramework>net8.0-windows</TargetFramework>
<ApplicationIcon>BlankMedia.ico</ApplicationIcon>
<StartupObject>GDIBuilder2.Wpf.Program</StartupObject>
</PropertyGroup>

<ItemGroup>
<Content Include="BlankMedia.ico" />
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\GDIBuilder2\GDIBuilder2.csproj"/>
<ProjectReference Include="..\GDIBuilder2\GDIBuilder2.csproj" />
</ItemGroup>

<ItemGroup>
<PackageReference Include="Eto.Platform.Wpf" Version="2.8.3"/>
<PackageReference Include="Eto.Platform.Wpf" Version="2.8.3" />
</ItemGroup>

</Project>
5 changes: 3 additions & 2 deletions GDIBuilderUI/GDIBuilder2/ExtractView.cs
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,9 @@ private void InitializeComponent()
gdiRow.Add(txtGdiPath, true);
gdiRow.Add(btnPickGdi);
gdiRow.EndHorizontal();
gdiRow.Spacing = new Size(5, 5);

gdiRow.Spacing = new Size(5, 5);

tgvDisc.RowHeight = 24;
tgvDisc.AllowMultipleSelection = true;
tgvDisc.Columns.Add(new GridColumn()
{
Expand Down

0 comments on commit d290437

Please sign in to comment.