Carlo
Carlo

Reputation: 97

Win forms font settings

i have one screenshot to show. On the left is settings dialog from my vb.net application and on the right is Microsoft SkyDrive dialog.

http://croos.org/so.jpg

The difference is huge. What are the fonts in the SkyDrive dialog? Buttons, labels, tabs? My program uses Font = SystemFonts.MessageBoxFont (Segoe ui) but it's not good enough.

How can I achieve that my dialog look like one from the right.

Thanks

Upvotes: 1

Views: 271

Answers (1)

Matt Wilko
Matt Wilko

Reputation: 27322

I believe that the screen shot of skydrive that you have shown is using Tahoma (or something very similar) font not Segoe UI.

Try this code:

Private Sub Form_Load(sender As System.Object, e As System.EventArgs) Handles MyBase.Load
    Me.Font = New Font("Tahoma", 8)
End Sub

Or just set the form font in the properties window.

I created a new form using the Tahoma font - this looks almost identical to me. My form on the left and your original on the right for comparison:

enter image description here

Upvotes: 1

Related Questions