Layout Error in beta 6

Please report bugs here. If you are unsure whether something is a bug or an expected behavior, please post it on the "Technical Support" forum instead, and wait for a moderator to handle/move the post.
Posts: 12
Joined: Fri Jun 12, 2015 6:23 pm

Layout Error in beta 6

Postby h82258652 » Sat Nov 21, 2015 5:21 am

Code: Select all

<Page x:Class="LayoutTestCSHtml5.MainPage"
        <Grid Background="Red"
            <Grid Background="Green"

The same code in WPF, I can see a green rectangle which size is 100x100. But in CSHtml5, it shows 200x200.
Version is beta 6.

And admin can try the test which I uploaded.
(13.92 KiB) Downloaded 110 times

JS-Support @Userware
Site Admin
Posts: 1093
Joined: Tue Apr 08, 2014 3:42 pm

Re: Layout Error in beta 6

Postby JS-Support @Userware » Sat Nov 21, 2015 10:25 am

Thank you for reporting this issue.

We were able to reproduce it and we are going to look into it as soon as possible. The Grid control does not seem to always properly force its size on its children. It is related to the way the Grid control is implemented using HTML divs. We are going to see if we can find a fix without having to use JS code for the layout, which would slow the UI down.

Thank you again and regards,

Return to “Bug Reports”

Who is online

Users browsing this forum: No registered users and 1 guest