wone

wone

  • NA
  • 7
  • 0

Unexpected behavior on WPF

Mar 24 2010 2:36 PM
Hello,

We have a strange issue that occurs depending, apparently, on the computer configuration. 
In the attached file, you will find two screenshots issued from exactly the same code:
- Expected.jpg is the expected behavior of the window
- Unexpected.jpg is the unexpected behavior!  Why some parts are troncated?

For the above examples similar config are used (.Net 3.5 SP1). We tried several PC and we found out that on XP the expected behavior occurs but not on Vista. Is there any link? Why? 

More generally we have several cases where relative positioning of controls is incorrect, text in controls is clipped.

Thanks for your help,
Kamel

Attachment: bug clipping.rar

Answers (1)

0
mjk pradeep

mjk pradeep

  • 0
  • 8
  • 0
Apr 30 2010 1:13 AM
Hello Kamel,

I faced this issue certainly before. when i been working on xp and on win 7. Well it's not the problem of WPF while designing  thing is that we need to maintain standard design and cross check with our alignments. If your using Grid / StackPanel / DockPanel . see that which container is need for what .. there is hell lot of difference b/w stackpanel & dockpanel kwel other thing is take care when ur spanning a grid column or grid row and make sure with content alignment too. WPF rocks 

Regards,
Pradeep