unoplatform/uno

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

Fermée

#18 265 ouverte le 21 sept. 2024

 (5 commentaires) (0 réaction) (0 personne assignée)C# (837 forks)batch import
area/skia ✏️difficulty/tbdgood first issuekind/buglow-hanging-🍒project/layout 🧱project/shapes-brushes 🔶

Métriques du dépôt

Stars
 (9 789 étoiles)
Métriques de merge PR
 (Merge moyen 14j 8h) (130 PRs mergées en 30 j)

Description

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

Guide contributeur