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

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
 
C

Chris Dunaway

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top