Resize ComboBox in Visual Studio 2008


I'm trying to resize a combobox in a visual studio 2008.

Wwhen I try this in c# the combobox height stays locked at the default size. The only way to change it is to write code that assigns new height values at runtime.

<img alt="See example" class="b-lazy" data-src="https://i.stack.imgur.com/9OkLC.jpg" data-original="https://i.stack.imgur.com/9OkLC.jpg" src="https://etrip.eimg.top/images/2019/05/07/timg.gif" />

Whenever I enter a value in the height field the value changes back to 21.

This problem only occurs with comboboxes. Resizing textboxes and buttons works fine.

Any idea what I am doing wrong here?


I had similar problem with ComboBox in VS2010. I solved it by editing its DrawMode to <strong>OwnerDrawFixed</strong> and then changing <strong>ItemHeight</strong> property. Hope it will work for you also. You can read more about it here: <a href="http://msdn.microsoft.com/en-us/library/system.windows.forms.drawmode.aspx" rel="nofollow">http://msdn.microsoft.com/en-us/library/system.windows.forms.drawmode.aspx</a>


Simply Change the Font Size of the ComboBox in the property window that will automatically increase the Height of your ComboBox.


  • AS3 - Adding item to a combobox in a loaded swf
  • ExtJS 4, Different rows fields
  • How can I detect a sequence of “hollows” (holes, lines not matching a pattern) bigger than n in a te
  • C# Read string from CSV file and plot line graph
  • Adding and multiplying columns of a numpy array with another array
  • PHP - get_browser() results
  • Cannot get ComboBox selected item value
  • How can I retrieve all employees whose age will be 21 in a month's time?
  • runtime error when linking ffmpeg libraries in qt creator
  • (Tcl/Expect) clear screen after exit
  • Problem with Django using Apache2 (mod_wsgi), Occassionally is “unable to import from module” for no
  • Scanner nextInt() and hasNextInt() problems
  • Ruby on Rails App deployed to heroku showing “We're sorry, but something went wrong”
  • Detecting null parameter in preprocessor macro
  • jQuery: How to AJAXify WordPress Search?
  • Trying to get the char code of ENTER key
  • C# program and C++ DLL compiled for 32-bit system crash on 64-bit system
  • Does it make sense to call System.gc() and Thread.sleep() when working on Bitmaps?
  • MongoDb aggregation
  • Is there a way to do normal logging with EureakLog?
  • Retrieving value from sql ExecuteScalar()
  • Jenkins: How To Build multiple projects from a TFS repository?
  • Read text file and split every line in MSBuild
  • C# - Serializing and deserializing static member
  • Sony Xperia Z Tablet not found by adb
  • How to recover from a Spring Social ExpiredAuthorizationException
  • Java applet as stand-alone Windows application?
  • Join two tables and save into third-sql
  • How to model a transition system with SPIN
  • Convert array of 8 bytes to signed long in C++
  • ORA-29908: missing primary invocation for ancillary operator
  • How can I estimate amount of memory left with calling System.gc()?
  • KeystoneJS: Relationships in Admin UI not updating
  • Error creating VM instance in Google Compute Engine
  • Hits per day in Google Big Query
  • Understanding cpu registers
  • Checking variable from a different class in C#
  • Recursive/Hierarchical Query Using Postgres
  • Running Map reduces the dimensions of the matrices
  • Converting MP3 duration time