Print Page | Close Window

BETA 3 XAML Parser Issues

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: MarkupLabel Control
Forum Description: Topics Related to Codejock MarkupLabel Control
URL: http://forum.codejock.com/forum_posts.asp?TID=22744
Printed Date: 25 April 2024 at 12:41am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: BETA 3 XAML Parser Issues
Posted By: markr
Subject: BETA 3 XAML Parser Issues
Date Posted: 02 October 2015 at 11:18am
The XTP 17 BETA 3 XAML parser has some problems.

First, there's something wrong with how the parser handles white space. Here's just one example. If you enter the following into MarkupPad you'll see that whitespace is not handled correctly:

<ScrollViewer TextBlock.FontFamily="Tahoma">
<TextBlock TextWrapping="Wrap" Margin="0,10,0,0">
       The Drive Space Panel provides you with an at-a-glance view of the used and free
        space on <Bold>each drive in your computer</Bold>.
      </TextBlock>
</ScrollViewer>

And here's how it actually gets rendered, which is incorrect:



Note that the above incorrectly handling of whitespace is only present if the scrollviewer is used. If you remove the ScrollViewer, the parser will actually add extra white space rather than remove it.

Also, RadioButton controls are not rendering correctly when Office 2010 themes are used. They are strangely pixelated, rather than smooth as they were in v16. Here's a screenshot of what I mean:



It's very important that markup render correctly, and I hope these types of issues will be addressed soon.

Regards,

Mark R.



Replies:
Posted By: markr
Date Posted: 02 October 2015 at 11:21am
A quick follow-up to my post above. It's not the ScrollViewer that appears to trigger this problem; it's the use of FontFamily. I can also reproduce the problem with the following simplified example:

<TextBlock FontFamily="Tahoma">
The Drive Space Panel provides you with an at-a-glance view of the used and free
        space on <Bold>each drive in your computer</Bold>.
</TextBlock>

Again, if the FontFamily tag is removed then the problem is reversed (extra whitespace is added, rather than existing white space being stripped).

Regards,

Mark R.


Posted By: Alopez
Date Posted: 05 November 2015 at 2:49pm
Your post has been submitted and corrections will be made. thank you for your patience and we will attempt to fix these errors soon.

-------------
Anthony Lopez, Technical Support
CODEJOCK SOFTWARE SOLUTIONS



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net