Skip to content

Grid alignment issues on Android & WASM #5480

Closed

Description

@DStephensJr

Current behavior

Grid alignment of items is not consistent on Android and WASM. UWP works as expected. Android and WASM align left rather than center. Also do not honor 50* & 25* row sizing either.

Expected behavior

Consistent appearance on Android and WASM as on UWP. Center alignment and confined to columns. Respect for * height proportions.

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

https://playground-wasm.azurewebsites.net/#dc711291

Workaround

None found.

Environment

Nuget Package:

  • Uno.UI / Uno.UI.WebAssembly / Uno.UI.Skia
  • Uno.WinUI / Uno.WinUI.WebAssembly / Uno.WinUI.Skia
  • Uno.SourceGenerationTasks
  • Uno.UI.RemoteControl / Uno.WinUI.RemoteControl
  • Other:

Nuget Package Version(s):

Affected platform(s):

  • iOS
  • Android
  • WebAssembly
  • WebAssembly renderers for Xamarin.Forms
  • macOS
  • Skia
    • WPF
    • GTK (Linux)
    • Tizen
  • Windows
  • Build tasks
  • Solution Templates

IDE:

  • Visual Studio 2017 (version: )
  • [X ] Visual Studio 2019 (version: )
  • Visual Studio for Mac (version: )
  • Rider Windows (version: )
  • Rider macOS (version: )
  • Visual Studio Code (version: )

Relevant plugins:

  • Resharper (version: )

Anything else we need to know?

Noob in UNO/UWP
Mac & iOS & other variants were not tested due to availability.

Activity

  1. added
    difficulty/tbd
    kind/bug
    triage/untriaged
    on Mar 16, 2021
  2. jeromelaban commented on Mar 16, 2021

    @jeromelaban
    Member

    Thanks for the update.

    We're going to merge this issue with #4231, which tracks all these layout problems with the current Grid implementation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    difficulty/tbdkind/bugtriage/untriaged

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions