Combobox Gap

Eleventeen

Freshman
Joined
Jan 3, 2003
Messages
39
Location
Canada
If you notice when there is text in the text box portion on a Combobox there is a big gap between the border and the first charcter.
In a Textbox though, the text is displayed right next to the border.

I have a number of both controls on a form and it looks really bad with the spaces in the Comboboxes. Is there a way to have the Textbox have the gap or the combobox lose the gap?
 
I had the same problem once when by accident I put a blank space in the code to clear the textbox, like this:
Visual Basic:
txtItem.Text = " "
Then each item was added to the combo box with a gap on the left.

ailzaj
 
Not sure what you mean here?

I don't have any gaps? Are you talking about the indentation? If so just aligh the text to suit your needs, left, centre or right.
 
Back
Top