anyone with wpf experience?
Page 1 of 1
Surray




Posts: 5409
Location: Europe
PostPosted: Wed, 26th Dec 2007 00:36    Post subject: anyone with wpf experience?
Hey there.

I made a small wpf application and here on my vista pc it looks just what it's supposed to look like, but when I launch it on my XP laptop it looks totally different.

I got a textblockblock on a rectangle basically, and on vista here the textblock is in the center of the rectangle, but if I launch it on my xp laptop then the textblock is at the top of the rectangle.

I also have a listbox which is fine on vista but on my xp laptop it looks different. the text alignment is off and it seems the font size is too (the text fits inside the control easily on vista, but on xp it's cut off).
in addition to that, on vista, when I click a listbox item it changes to white foreground, but on XP nothing happens when I click it.

basically, my question is if this is normal and only happens on xp, or if something is seriously wrong with my application?
Back to top
Extreme_Reloaded




Posts: 37

PostPosted: Wed, 30th Jan 2008 20:59    Post subject:
could you paste the xaml?

Do you have the final version of .NET 3.0 on your xp?


Multilanguage??
Learn english stupid fags
Back to top
Surray




Posts: 5409
Location: Europe
PostPosted: Mon, 17th Mar 2008 23:15    Post subject:
hehe.
I eventually found out what was causing it.
the problem was that I was using a font that was included in vista but not on xp, so when launching the program in XP it would use a different font which caused things to look wrong.


Likot Mosuskekim, Woodcutter cancels Sleep: Interrupted by Elephant.
Back to top
Page 1 of 1 All times are GMT + 1 Hour
NFOHump.com Forum Index - Programmers Corner
Signature/Avatar nuking: none (can be changed in your profile)  


Display posts from previous:   

Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB 2.0.8 © 2001, 2002 phpBB Group