Automatically determine height

Fixes large buttons on MacOS and Windows.
This commit is contained in:
jvyden 2021-10-18 13:32:54 -04:00
parent b2eedd16ca
commit a763d3fa26
No known key found for this signature in database
GPG key ID: 18BCF2BE0262B278

View file

@ -101,7 +101,7 @@ namespace UnionPatcher.Gui {
public MainForm() {
this.Title = "Union Patcher";
this.ClientSize = new Size(500, 160);
this.ClientSize = new Size(500, -1);
this.Content = new TableLayout {
Spacing = new Size(5,5),
Padding = new Padding(10, 10, 10, 10),