Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Button partially visible even in a zero width&height container #1188

Open
3 of 6 tasks
mrlacey opened this issue Sep 1, 2023 · 0 comments · May be fixed by #1194
Open
3 of 6 tasks

Button partially visible even in a zero width&height container #1188

mrlacey opened this issue Sep 1, 2023 · 0 comments · May be fixed by #1194
Assignees
Labels
kind/bug Something isn't working theme/material

Comments

@mrlacey
Copy link

mrlacey commented Sep 1, 2023

Current behavior

Part of a button is still visible even if in a Grid's row or column set to height or width of 0.

Issue in Skia (GTK)
image

Issue in WASM:
image

Android:
image

Not tested iOS or Mac.

Nothing is shown in a Windows (WinUI) app.

Expected behavior

No part of the button should be visible on any platform.

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

Need this code in an app that uses the material theme:

  <Grid ColumnDefinitions="*,0,*" RowDefinitions="*,0,*">
    <Button Grid.Row="1" Grid.Column="1">testing</Button>
  </Grid>

Repro project (created with VSIX 4.9.18.24)

UnoAppMaterialThemeButtonMargin.zip

Environment

Nuget Package:

Uno.Material.WinUI

Package Version(s):

2.6.1

Affected platform(s):

  • iOS
  • Android
  • WebAssembly
  • Skia
  • UWP
  • MacOS

Anything else we need to know?

This is affecting my 🔥 😉

@mrlacey mrlacey added the kind/bug Something isn't working label Sep 1, 2023
@Arieldelossantos Arieldelossantos self-assigned this Sep 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working theme/material
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants