Skip to content

ItemHeight of ListBox is not scaled on high DPI in OwnerDrawFixed mode #6382

Description

@2mik
  • .NET Core Version:
    6.0

  • Have you experienced this same bug with .NET Framework?:
    No

Problem description:

When using ListBox in the OwnerDrawFixed mode, item heights are not scaled.
Scale 100%
scale100
Scale 150%
scale100

Expected behavior:
Item heights are scaled in the OwnerDrawFixed mode.

Minimal repro:
Sample app is attached. Run it with 100% and 150% scaling.
ItemHeightBug.zip

Metadata

Metadata

Assignees

Labels

🚧 work in progressWork that is current in progressarea-HDPIHDPI, not specific to Dpi mode of app

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions