UI tweaks

This commit is contained in:
Serge
2023-06-05 22:32:50 +02:00
parent 4bbfbd0382
commit 678f4b0eb7
6 changed files with 434 additions and 306 deletions

View File

@@ -1,9 +1,7 @@
using CustomControls;
using NAudio.CoreAudioApi;
using System.Diagnostics;
using System.Management;
using System.Text.Json;
using System.Xml.Linq;
namespace GHelper
{
@@ -151,7 +149,7 @@ namespace GHelper
Process.Start(new ProcessStartInfo(downloadUrl) { UseShellExecute = true });
};
table.RowStyles.Add(new RowStyle(SizeType.Percent, 50F));
table.RowStyles.Add(new RowStyle(SizeType.AutoSize));
table.Controls.Add(new Label { Text = categoryName, Anchor = AnchorStyles.Left, Dock = DockStyle.Fill, Padding = new Padding(5, 5, 5, 5) }, 0, table.RowCount);
table.Controls.Add(new Label { Text = title, Anchor = AnchorStyles.Left, Dock = DockStyle.Fill, Padding = new Padding(5, 5, 5, 5) }, 1, table.RowCount);
table.Controls.Add(versionLabel, 2, table.RowCount);