Skip to content

Fake bottom gradient should respect BorderThickness #7110

Closed

Description

@MartinZikmund

Current behavior

The fake bottom border used on many V2 Fluent styles does not respect BorderThickness. When the bottom border is 0, the fake border should disappear. When it is bigger, it may also need to be adjusted.

Expected behavior

Should look like WinUI 2.6

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

Create a Button with 0 BorderThickness. Compare UWP vs Uno under WinUI 2.6.

Workaround

Redefine the style and remove the BottomBorderElement

Works on UWP/WinUI

Yes

Environment

Uno.UI / Uno.UI.WebAssembly / Uno.UI.Skia

NuGet package version(s)

3.10.7

Affected platforms

iOS, Android, WebAssembly, WebAssembly renderers for Xamarin.Forms, macOS, Skia (WPF), Skia (GTK on Linux/macOS/Windows), Skia (Tizen), Windows

IDE

Visual Studio 2022

IDE version

No response

Relevant plugins

No response

Anything else we need to know?

No response

Activity

  1. added
    kind/bug
    triage/untriaged
    difficulty/tbd
    on Sep 16, 2021
  2. ritt-app commented on May 30, 2023

    @ritt-app

    @MartinZikmund I am running into this issue as well. Is there a fix available? Or you can elaborate on the workaround?

  3. added
    difficulty/challenging 🤯
    and removed
    triage/untriaged
    difficulty/tbd
    on Jul 18, 2023
  4. MartinZikmund commented on Sep 5, 2023

    @MartinZikmund
    MemberAuthor

    Duplicate of #7621

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

Metadata

Metadata

Assignees

Labels

difficulty/challenging 🤯kind/bug

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions