Skip to content

Commit

Permalink
Fix white borders under Wine
Browse files Browse the repository at this point in the history
  • Loading branch information
FelisDiligens committed Mar 30, 2023
1 parent de78eea commit c9b3273
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 1 addition & 2 deletions Fo76ini/Forms/FormMain/FormMain.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions Fo76ini/Forms/FormMain/FormMain.cs
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,10 @@ public FormMain()
{
// Fix crashing issue when setting a different visual style in winecfg (e.g. "Light")
Utils.SetNumericUpDownBorderStyleNone(this);

// Fix white borders
this.viewControl.Size += new Size(8, 12);
this.userControlSideNav.Size += new Size(0, 12);
}
}

Expand Down

0 comments on commit c9b3273

Please sign in to comment.