Skip to content
This repository was archived by the owner on May 1, 2024. It is now read-only.
This repository was archived by the owner on May 1, 2024. It is now read-only.

[Bug] BadgeView grows vertically when horizontally wider #641

Open
@adammeaney

Description

@adammeaney

Description

The badgeview gets bigger vertically when the size only needs to expand horizontally.

Steps to Reproduce

  1. Set the Badge Text to 87234687
  2. Marvel at the oddity.

Expected Behavior

Wrap the badge in the least space needed with margins and padding to have a nice rounded horizontal badge.

Actual Behavior

Giant square badge.

Basic Information

  • Version with issue: Commit 4f6f80e
  • Last known good version: Never
  • IDE: VS 19
  • Platform Target Frameworks:
    • iOS:
    • Android:
    • UWP:
  • Android Support Library Version:
  • Nuget Packages:
  • Affected Devices:

Reproduction imagery

image

Reproduction Link

            <xct:BadgeView
                BackgroundColor="Red"
                Text="165465541"
                TextColor="White">
                <Label Text="Actual Long Value" />
            </xct:BadgeView>

Metadata

Metadata

Assignees

No one assigned

    Labels

    a/BadgeViewbugSomething isn't working. Breaky break.s/unverifiedThis issue needs verification/reproduction by a team member. PRs cannot be accepted/merged.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions