From 6ee3e305d65628c7d3b02796ffdc978af04f2090 Mon Sep 17 00:00:00 2001 From: Jaex Date: Tue, 24 Oct 2017 02:50:42 +0300 Subject: [PATCH] Added MinimumSize so toolbar always fits --- ShareX.ScreenCaptureLib/Forms/RegionCaptureForm.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ShareX.ScreenCaptureLib/Forms/RegionCaptureForm.cs b/ShareX.ScreenCaptureLib/Forms/RegionCaptureForm.cs index 4e2615843..8b4e51805 100644 --- a/ShareX.ScreenCaptureLib/Forms/RegionCaptureForm.cs +++ b/ShareX.ScreenCaptureLib/Forms/RegionCaptureForm.cs @@ -160,7 +160,8 @@ private void InitializeComponent() Text = "ShareX - " + "Annotate"; // TODO: Translate StartPosition = FormStartPosition.CenterScreen; FormBorderStyle = FormBorderStyle.Sizable; - Size = new Size(900, 700); + Size = new Size(800, 600); + MinimumSize = new Size(800, 600); WindowState = FormWindowState.Maximized; ShowInTaskbar = true; }