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

  • SEARCH
  • Home
  • 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 7820337
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T07:15:30+00:00 2026-06-02T07:15:30+00:00

Working on a WinForms .Net 2.0 project, I need a checkbox to support multiple

  • 0

Working on a WinForms .Net 2.0 project, I need a checkbox to support multiple lines such that the box itself will be aligned to the top-left corner.

This is done using CheckAlign = System.Drawing.ContentAlignment.TopLeft, which different from the default (MiddleLeft).

When working with the default font this looks OK, but when the font becomes larger – what happens is that the gap above the text increases, yet the gap above the box itself remains constant.

The result is that the box appears above the text (see illustration below).

Any ideas?

I’d like to note that:

  1. I already tried a few option, such as using a custom designer, a TableLayoutPanel, etc., but didn’t get far.
  2. .Net 2.0 is forced – upgrading is not an option.

Thanks in advance.

CheckBox Issues

  • 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-06-02T07:15:31+00:00Added an answer on June 2, 2026 at 7:15 am

    The checkbox is actually aligned to the text. But in a way that could only please a typographer. It is just that a large font has more ascender height, the space where the diacritics go. Try “Ĥere’s the problem”. That’s not something you can tinker. CheckedListBox also doesn’t support owner draw, it is in general a pretty flawed control. If you don’t want to use an ownerdraw ListBox then MiddleLeft or smaller fonts are the only decent options.

    enter image description here

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

Sidebar

Related Questions

I am working on an asp.net (or winforms) app that is supposed to detect
I'm working on a WinForms C# 3.0 / .NET 3.5 project involving building some
I'm working on a .Net WinForms appliation that is connecting to a legacy RDB
I'm working with a .NET 2.0 WinForms application in C#. I noticed something that
I'm relatively new to .NET GUI programming using WinForms (the project I'm working on
I am working on a VB.NET WinForms app that was upgraded by Visual Studio
I'm working on a large Winforms project for a client that is using business
I'm working on a .NET WinForms app that needs to print a FEDEX shipping
I'm working on a WinForms app and need to record the location of MouseDown
My team working in a project using Winforms application(c#) & MSSQL 2005 as database.

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.