Object size in design view <> size in 'Window gen code'

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,
I have encountered the following problem when using VB .net. Please help.

I have created a button at design view. Then, I save the design.
Reload it and view the " Windows Form Designer generated code ".

it reads, Me.cmdClear.Size = New System.Drawing.Size(44, 44)

but, when I open up the design view again. At the cmdClear's properties
panel, the size is 44,40. Every controls' height are not match with the size
at " Windows Form Designer generated code ".

Do anyone know what happened??

Thanks!
Paul
 
Do anyone know what happened??
Do you have the form's AutoScale property set? What about your system's
screen resolution? Could the dpi setting be set incorrectly?

Just some suggestions.
--
Chris

dunawayc[AT]sbcglobal_lunchmeat_[DOT]net

To send me an E-mail, remove the "[", "]", underscores ,lunchmeat, and
replace certain words in my E-Mail address.
 
Back
Top