Skip to content

Scaling issue with TextBox #7787

@YuvarajMasilamani

Description

@YuvarajMasilamani

Describe the bug

The textbox's actual height is not similar in all scaling

Steps to reproduce the bug

  1. Change the system scale to 100%, 125%, 150%...
  2. Run the demo
  3. Note the TextBox ActualHeight value.

I enclosed a demo here TextBoxHeightIssueDemo.zip

Expected behavior

TextBox's ActualHeight needs to be similar in all scaling

Screenshots

TextBox Height Issue

NuGet package version

WinUI 3 - Windows App SDK 1.1.5

Windows app type

  • UWP
  • Win32

Device form factor

Desktop

Windows version

Windows 11 (21H2): Build 22000

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions