Unplanned
Last Updated: 23 Mar 2020 06:50 by ADMIN
n/a
Created on: 23 Mar 2020 06:49
Category: UI for WinForms
Type: Bug Report
0
ShapedForm: size is increased at run-time with FormBorderStyle=FixedToolWindow

1. Create a brand new project and add a ShapedForm.

2. Set the Size to 800,550.

3. Set the FormBorderStyle to FixedToolWindow.

You will notice that at run-time the size is changed to 816, 589.

Workaround:

        public ShapedForm1()
        {
            InitializeComponent();

            this.MaximumSize = new Size(800, 550);
        }

0 comments