Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6078801
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T10:52:28+00:00 2026-05-23T10:52:28+00:00

C# WinForms: I am trying to find a good way for my resizing issue

  • 0

C# WinForms:
I am trying to find a good way for my resizing issue in this picture attached.
the blue area: I want it to have a FIXED sized regardless of the Form size.
the red area: I want it to Resize when I resize the form.
The Only time I want the Blue area to Resize properly is when I change the language so some non-English lang so if the translated text in labels, check boxes,etc gets longer well I want it to still fit in there.
I thought I can use TableLayout with two columns, drop a Panel inside the left column of this table layout and draw my controls inside it,… but how I can keep the left panel on a Fixed size for the blue area that meets my requirements ?

Thanks

enter image description here

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T10:52:28+00:00Added an answer on May 23, 2026 at 10:52 am

    This should work:

    Drop a FlowLayoutPanel on your Form.
    Drop Two Panels onto it. One for the left content, one for the right.
    Set the AutoSize property of the left one to true.
    Inside this Panel I would use a TableLayoutPanel with AutoSize enabled, for the controls.

    On the second Panel you should Enable Anchor Left, Top and Right to fore it to take the rest of the available space.

    For the fine tuning you can set Margin and Padding of the controls.

    Hope that helps. In general you can achive nearly every kind of autosizing UI with winforms, you just have to figure out what’s the best way. I am almost certain that I could do this in under 30 minutes.

    Some general properties/controls that can be used to achive a resizable form:

    • Anchor (Top, Left, Bottom, Right). Defines how a control behaves on resizing. If you want a control to be on the right side on resizing, set Anchor to Top, Right. If you want it to grow horizontally, set it to Top, Left, Right. If you want it to grow horizontally and vertically, set it to Top, Left, Bottom, Right. For a control inside a FlowLayoutPanel or TableLayoutPanel the anchor behaves a little bit different and defines on which side(s) a control should be attached.

    • Dock, allows a Control to attach to its parent, either on one side (Top, Left, Bottom or Right, or use the max. available space (Fill)

    • Autosize and AutoSizeMode (GrowOnly, GrowAndShring) – Allows a control to resize to the needed or availabe space. Can be used with MinimumSize and MaximumSize.

    • Margin – Defines the space a control claims between itself and the parent (or next one in the stack). Can be set for Left, Right, Top and Bottom

    • Padding – Defines the space a control claimes between itself and it’s childs.

    • TableLayoutPanel is a container in which you can define rows an columns that have a fixed width, a percent value or just autosize. If you drop a control inside a TableLayoutPanel you can tell it to use multiple columns/rows with the Rowspan/Colspan property

    • FlowLayoutPanel – Puts all controls on a horizontal or vertical stack.

    • If you have a nested structure if may be difficult select or move a control. Visual Studio has a tool window that shows the document tree that helps you with that.

    • In general: Keep it simple. Often there is an easier solution than nesting a TableLayoutPanel inside a TableLayoutPanel inside a TableLayoutPanel (you get the point, right?)

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to find a good way to implement MVP in classic Winforms, and
I am working on a little WinForm app and have been trying to find
I am trying to create a winForms user control. But I want would like
I'm trying to implement this pattern in my WinForms application (I don't like it,
I've searched for two days trying to find a solution to this. My problem
I am trying to do this using C#(Winforms). The code I am using is
This seems like such a simple question, but I have been trying for an
I have a WinForms app that I am trying to deploy with ClickOnce. It
I'm trying to find a generic way to track Modified of any control (databind
I'm trying to choose the best way to implement this UI in MVVM manner.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.