Skip to content

DPI awareness with different monitor DPIs #677

@cjwere

Description

@cjwere

Hi,

Love the virtual treeview! Even more now I'm using it with "High DPI" on one monitor.

When I drag my running program across to the other monitor all my forms and fonts rescale, but the virtual treeviews do not. my application declares multi monitor DPI awareness. I breakpointed on tbasevirtualTree.changescale and it is getting triggered. I have toAutoChangeScale set on (just been through and set this on all my virtual treeviews)

starting on my high DPI screen (192DPI):

image

, then dragging to my nomal 96DPI screen:

image

Note the tabs and button and font within the body of the treeview rescale correctly, but the node spacing and the header size and font do not.

Thanks,
Chris Were

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions