Skip to content

Button with BorderThickness=0 has a thin visible border #13348

Closed

Description

@manfromarce

Current behavior

On all platforms except WinUi a very thin border is displayed for buttons with BorderThickness=0.
It's more noticeable on light theme with transparent background.

WinUi:
image

WASM:
image

GTK:
image

WPF:
image

Expected behavior

The border should be completely invisible.

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

http://playground.platform.uno/#227ea223

Workaround

No response

Works on UWP/WinUI

Yes

Environment

Uno.WinUI / Uno.WinUI.WebAssembly / Uno.WinUI.Skia

NuGet package version(s)

4.9.45

Affected platforms

WebAssembly, Android, iOS, Mac Catalyst, Skia (WPF), Skia (GTK on Linux/macOS/Windows)

IDE

Visual Studio 2022

IDE version

No response

Relevant plugins

No response

Anything else we need to know?

No response

Activity

  1. added
    difficulty/tbd
    kind/bug
    triage/untriaged
    on Aug 22, 2023
  2. added
    project/shapes-brushes 🔶
    on Aug 22, 2023
  3. jeromelaban commented on Aug 22, 2023

    @jeromelaban
    Member

    @MartinZikmund is this related to the border workaround we included in the button style?

  4. MartinZikmund commented on Sep 5, 2023

    @MartinZikmund
    Member

    Yes, this is duplicate of #7621, will be addressed very soon.

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/bugproject/shapes-brushes 🔶triage/untriaged

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions