uno icon indicating copy to clipboard operation
uno copied to clipboard

[Android (probably iOS)] Items inside a grid don't have the requested height

Open LuisAlfredo92 opened this issue 1 year ago • 1 comments

Current behavior

After upgrading from 5.3.108 to 5.4.5, items inside a grid don't have the requested size (110 px height), and not even changing the size 5 4 5

Code:

new Grid()
    .ColumnDefinitions("70,*,60")
    .RowDefinitions("2*,*,5")
    .CornerRadius(10, 10, 0, 0)
    .Width(325)
    .Height(110)
    .Background(Theme.Brushes.Primary.Default)
    .BorderBrush(Theme.Brushes.OnPrimary.Container.Default)
    .BorderThickness(1)
    .Children
    (
        .
        .
        .

Expected behavior

It's expected to have the same size before updating 5 3 108

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

Just changed "Uno.Sdk" in global.json from "5.3.108" to "5.4.5", and "Microsoft.Maui.Controls" and "Microsoft.Maui.Controls.Compatibility" from "8.0.71" to "8.0.82"

Workaround

No response

Works on UWP/WinUI

Yes

Environment

Other

NuGet package version(s)

5.4.5

Affected platforms

Android

IDE

Visual Studio 2022

IDE version

No response

Relevant plugins

No response

Anything else we need to know?

I tried changing "Microsoft.Maui.Controls" and "Microsoft.Maui.Controls.Compatibility" back to 8.0.71, but doing that made that not event the buttons were displayed even after I revert to 8.0.82

LuisAlfredo92 avatar Oct 03 '24 18:10 LuisAlfredo92

https://github.com/unoplatform/uno/pull/18261/ may have an impact here

Youssef1313 avatar Oct 03 '24 18:10 Youssef1313

This should no longer be an issue with Skia targets

MartinZikmund avatar Oct 16 '25 12:10 MartinZikmund