Skip to content

NodeHeight does not scale in high-dpi mode, if RootNodeCount is set before scaling happens #633

@ottigeda

Description

@ottigeda

See attached example project
If pressing Button1

  • on a screen with font size = 100% the VirtualStringTree can show approx 9 nodes at once (correct)
  • on a screen with font size = 125% the VirtualStringTree can show approx 11 nodes at once (too many)
  • on a screen with font size = 200% the Node Text does start to overlap
    If pressing Button2 however it works as expected: regardless whats the font size the VirtualStringTree can show about 9 nodes at once

The difference between Button1 and Button2 is the position where the RootNodeCount is set.

Projects.zip

Tested on Windows 10 (version1511), using Delphi 10.1 Berlin + Version 6.3.0 of VirtualStringTree.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions