Share via


How to: Resize Windows Forms Using the Designer

There are a several ways that you can specify the size of your Windows Form. In Visual Studio, you can change the size of a form by using the Windows Form Designer or by using the Properties window. For information about changing the size of a form by using code, see How to: Resize Windows Forms.

Note

The dialog boxes and menu commands you see might differ from those described in Help depending on your active settings or edition. To change your settings, choose Import and Export Settings on the Tools menu. For more information, see Visual Studio Settings.

To resize a form in the Windows Forms Designer

  1. In the Windows Forms Designer, click the form to select it.

  2. Click and drag one of the eight sizing handles that appear on the border of the form. The sizing handles look like small white boxes, and the mouse pointer turns into a double-headed arrow when you point at a handle.

    Note

    If you press the ARROW keys while holding down the SHIFT key, you can resize the form more precisely.

To resize a form using the Properties window

  • In the Properties window, click the Size property and enter values for the width and height, separated by a comma.

    Note

    You can expand the Size property to enter the Width and Height values individually.

See Also

Tasks

Walkthrough: Creating a Resizable Windows Form for Data Entry

Walkthrough: Creating a Layout That Adjusts Proportion for Localization

How to: Support Localization on Windows Forms Using AutoSize and the TableLayoutPanel Control

Concepts

Automatic Scaling in Windows Forms

Reference

Windows Forms Overview

Other Resources

Adjusting the Size and Scale of Windows Forms

Creating a New Windows Form