Page 1 of 1

Border thickness uncorrecly traced

Posted: Sun Jul 24, 2016 8:49 am
by xidea
Hello,

I think there is a bug in border tracing, as if I set BorderThickness to 1 the right and bottom border of elements like Border and ItemControl is not traced, if I set BorderThickness to 2 the borders are all four traced but 1 pixel thick.
This happens in some situation, not always, but I don't wonder what's the conditions. Sometimes, changing the contained elements dimension causes the borders reappear, but it seems there is other factors than dimensions.


Regards

Flavio

Re: Border thickness uncorrecly traced

Posted: Sun Jul 24, 2016 11:41 am
by JS-Support @Userware
Thanks for reporting this issue.

If you manage to isolate some code to help us reproduce the issue, please keep me updated.

Thank you.
Regards,
JS-Support

Re: Border thickness uncorrecly traced

Posted: Mon Jul 25, 2016 11:09 am
by xidea
The page code where I found these anomalies is a little too complex to extract something useful, but I spotted the fact that the rendering depends by the way the Border element is wrapped in Grid(s). Removing surrounding Grid seems to get the border renders as expected.

Thanks


Flavio

Re: Border thickness uncorrecly traced

Posted: Tue Jul 26, 2016 1:07 am
by JS-Support @Userware
Thank you Flavio

Re: Border thickness uncorrecly traced

Posted: Tue Jul 26, 2016 8:09 am
by xidea
Just forgot: the rendering is different in simulator and final, in my last version of the code the borders are correctly traced in final but doesn't in simulator.

Flavio

Re: Border thickness uncorrecly traced

Posted: Wed Jul 27, 2016 12:11 am
by JS-Support @Userware
Thank you for the information. We are going to look into it.