unoplatform/uno

[Skia] Shapes arrange appear to be broken in certain cases

已关闭

#18,265 创建于 2024年9月21日

 (5 条评论) (0 个反应) (0 位负责人)C# (837 个派生)batch import
area/skia ✏️difficulty/tbdgood first issuekind/buglow-hanging-🍒project/layout 🧱project/shapes-brushes 🔶

仓库指标

星标
 (9,789 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

Current behavior

Using Basic_Shapes sample, there is at least one broken scenario using Ellipse, UniformToFill, FixedWidthLarge.

Here is WinUI vs Skia comparison:

image

Somehow, vertical alignment isn't taking effect?

Simple repro:

<Grid Width="150" Height="150" BorderBrush="Green" BorderThickness="1">
<Ellipse Width="300" Stretch="UniformToFill" HorizontalAlignment="Left" VerticalAlignment="Bottom" Fill="Red" />
</Grid>

Expected behavior

No response

How to reproduce it (as minimally and precisely as possible)

No response

Workaround

No response

Works on UWP/WinUI

None

Environment

No response

NuGet package version(s)

No response

Affected platforms

No response

IDE

No response

IDE version

No response

Relevant plugins

No response

Anything else we need to know?

No response

贡献者指南