The Touch Viva has a QVGA screen (480x640) while the older iPaq 2210 has a 240x320 screen. The text is being displayed in hi resolution on the Touch.
I do not know of a fix for this. The PictureBox is doing what it is supposed to do, taking advantage of the additional pixels to do a better display, but I can understand that the result is not what you were looking for. >Hi, > >I have a strange problem with the PictureBox control in NSB CE 7, the >size of the font on the PicturBox is different on different devices. >When creating a new project with a PictureBox added to a form and then >adding the following code : > >ShowOKButton True > >Sub main > > picturebox1.FontName = "Tahoma" > picturebox1.fontsize = 20 > picturebox1.drawtext "This is Tahoma 20", 10, 10 > > picturebox1.FontName = "Courier New" > picturebox1.fontsize = 20 > picturebox1.drawtext "This is Courier New 20", 10, 50 > >End Sub > >I get the result as per screenshots below, the font is much bigger on >some device than on others. > >This is rather annoying as our application needs to run on a wide range >of devices. We found about as many devices with big as with small fonts. > >Example is the iPaq 2210 which displays big fonts and >HTC Touch Viva which displays small fonts >using the same code above > >How can I fix this ? If this is a bug, can I at least determine >programmatically if the device displays the big or the small fonts, so >that I can adjust the FontSize propery accordingly ? > >Screenshots of the result : > >http://img27.imageshack.us/img27/8941/pictureboxonhtctouchviv.jpg >http://img75.imageshack.us/img75/5096/pictureboxonipaq2210.jpg > > > Jingjok > > > >------------------------------------ > >Yahoo! Groups Links > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "nsb-ce" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nsb-ce?hl=en -~----------~----~----~----~------~----~------~--~---
