Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. Buttons appear differently in Vista than in XP (problem)

Buttons appear differently in Vista than in XP (problem)

Scheduled Pinned Locked Moved C#
csharpvisual-studiohelpquestion
4 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    sodevrom
    wrote on last edited by
    #1

    Hello, I am having a very strange problem. I created an application in Visual Studio C# 2008 using .net 3.5 SP1. The application looks perfect in Windows XP, but in Windows Vista, the buttons are a lot larger and don't fit their space. Here is an exaple : http://www.sodevrom.net/xp.jpg http://www.sodevrom.net/vista.jpg As you can see, in Windows Vista the buttons are very large. What can be the cause of this ? Thank you in advance

    L S 2 Replies Last reply
    0
    • S sodevrom

      Hello, I am having a very strange problem. I created an application in Visual Studio C# 2008 using .net 3.5 SP1. The application looks perfect in Windows XP, but in Windows Vista, the buttons are a lot larger and don't fit their space. Here is an exaple : http://www.sodevrom.net/xp.jpg http://www.sodevrom.net/vista.jpg As you can see, in Windows Vista the buttons are very large. What can be the cause of this ? Thank you in advance

      L Offline
      L Offline
      Luis Alonso Ramos
      wrote on last edited by
      #2

      It's not just the buttons, but the text overall. Maybe changing the settings in Control Panel could fix it. Not sure, but just an idea :)

      Luis Alonso Ramos Intelectix Chihuahua, Mexico Follow me on Twitter (@luisalonsoramos) or on my blog (www.luisalonsoramos.com)!

      1 Reply Last reply
      0
      • S sodevrom

        Hello, I am having a very strange problem. I created an application in Visual Studio C# 2008 using .net 3.5 SP1. The application looks perfect in Windows XP, but in Windows Vista, the buttons are a lot larger and don't fit their space. Here is an exaple : http://www.sodevrom.net/xp.jpg http://www.sodevrom.net/vista.jpg As you can see, in Windows Vista the buttons are very large. What can be the cause of this ? Thank you in advance

        S Offline
        S Offline
        saanj
        wrote on last edited by
        #3

        It is because different version of window that you are using. Different versions of Windows have different UI and Theme settings. So the form ui also changes accordingly. Regards Saanj

        Either you love IT or leave IT...

        S 1 Reply Last reply
        0
        • S saanj

          It is because different version of window that you are using. Different versions of Windows have different UI and Theme settings. So the form ui also changes accordingly. Regards Saanj

          Either you love IT or leave IT...

          S Offline
          S Offline
          sodevrom
          wrote on last edited by
          #4

          Hi, Thank you for your reply but it does not help to much. I don't understand how can the Font size change when I specified an EXACT font from c# : Microsoft Sans Serif, 8.25pt Any other ideeas ? Thank you

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups