locked
listview item outline bug?

    Question

  • Hello I really am stumped and wondering if anyone has any suggestions. 

    When hovering over a listview item in my app a grey border appears around the edge, however there is a 1px gap and I have no idea what is causing it. Something interesting about this gap is it only appears when the app is being scaled, on my 1920x1080 desktop there is NO issue, however on my 1920x1080 laptop the app is scaled larger and this strange gap appears.

    In this image below I have hidden everything inside .win-container, so you are only viewing ONE div with NO children. I have then changed .win-container CSS properties to "background: black !important" "outline: 3px solid black !important". As you can see the top row of div's get a 1px gap in the top, the second row get a 1px gap at the bottom, and the bottom row are unaffected! (please see image in native resolution)

    This is what the issue looks like without the custom styling:

    As you can see there is the 1px gap at the top.

    Any help would be greatly appreciated. 

    Thank You



    • Edited by r.c.byrne Thursday, November 27, 2014 3:21 PM
    Thursday, November 27, 2014 3:20 PM

All replies

  • Did you test the project using the same version of browser in desktop and laptop? This should be the problem with browser compatibility.
    Friday, November 28, 2014 1:40 PM
  • Hello, this is a windows store app both being run in the same version of visual studio and windows 8.1 
    Friday, November 28, 2014 2:29 PM
  • Hello,

    Can you post a repro project? Use your OneDrive and share a link here.

    Regards,


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place. Click HERE to participate the survey.

    Tuesday, December 02, 2014 7:11 AM
    Moderator
  • Hello,

    This issue has been a niggling bug in my project for months, I was preparing some code to submit to oneDrive and the issue has gone! If i find out what was causing it I will post it here

    Thursday, December 04, 2014 11:51 AM
  • Yes. I am glad to hear the problem has gone!

    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place. Click HERE to participate the survey.

    Friday, December 05, 2014 1:30 AM
    Moderator