diff --git a/PCK-Studio/Controls/CustomTabControl.cs b/PCK-Studio/Controls/CustomTabControl.cs index 62cb410f..029d1104 100644 --- a/PCK-Studio/Controls/CustomTabControl.cs +++ b/PCK-Studio/Controls/CustomTabControl.cs @@ -14,7 +14,7 @@ namespace PckStudio.Controls internal class CustomTabControl : MetroTabControl { private const string CloseChar = "×"; - private Size CloseButtonSize = new Size(8, 8); + private Size CloseButtonSize = new Size(7, 7); private const int StartIndex = 1; [Browsable(true)] @@ -30,7 +30,7 @@ namespace PckStudio.Controls var closeBtnSz = CloseButtonSize; var closeBtnPt = new Point( tabArea.Right - closeBtnSz.Width, - tabArea.Top + (tabArea.Height - closeBtnSz.Height) / 2); + tabArea.Top + 2 + (tabArea.Height - closeBtnSz.Height) / 2); return new Rectangle(closeBtnPt, closeBtnSz); } @@ -69,8 +69,8 @@ namespace PckStudio.Controls CloseChar, Font, new SolidBrush(MetroPaint.ForeColor.Title(Theme)), - buttonArea.Right - buttonArea.Width - 1, buttonArea.Top - 3); + buttonArea.Right - buttonArea.Width - 2, buttonArea.Top - 4); } } } -} +} \ No newline at end of file