Skip to content

Commit

Permalink
Fix a few ugly colors under Wine
Browse files Browse the repository at this point in the history
  • Loading branch information
FelisDiligens committed Mar 30, 2023
1 parent 2a0a42d commit de78eea
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 7 deletions.
2 changes: 1 addition & 1 deletion Fo76ini/Controls/StyledButton.cs
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ private RectangleF GetRect(ContentAlignment align, SizeF size, bool forText)
break;
}

float width = size.Width;
float width = size.Width + (forText ? 10 : 0);
float height = size.Height;

return new RectangleF(
Expand Down

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

1 change: 1 addition & 0 deletions Fo76ini/Forms/FormMain/FormMain.Designer.cs

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

1 change: 1 addition & 0 deletions Fo76ini/Forms/FormMods/FormMods.Designer.cs

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

6 changes: 0 additions & 6 deletions Fo76ini/Forms/FormMods/FormMods.resx
Original file line number Diff line number Diff line change
Expand Up @@ -123,9 +123,6 @@
<metadata name="toolTip.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>643, 16</value>
</metadata>
<metadata name="toolTip.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>643, 16</value>
</metadata>
<data name="radioButtonModsUseSymlinks.ToolTip" xml:space="preserve">
<value>Make symbolic links (also called soft links) instead of copying files.
Reduces deployment time and disk space.
Expand All @@ -147,9 +144,6 @@ Experimental feature: Should work, but not guaranteed.</value>
<metadata name="timerCheckForNXM.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 55</value>
</metadata>
<metadata name="toolStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>379, 16</value>
</metadata>
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="pictureBoxCollapseDetails.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
Expand Down

0 comments on commit de78eea

Please sign in to comment.