Skip to content

Prepare NatTable to work correctly with changed scaling in SWT #172

@fipro78

Description

@fipro78

The current SWT implementation updated the scaling API to support multi-device usage and scale according to the current active display. NatTable has implemented its own scaling mechanism that relies on Display.getDPI(). That method was deprecated in current implementations, therefore NatTable needs to update its implementation to also work with future SWT versions and to support the multi-display scenarios.

The following topics should be addressed:

  • Replace the usage of Display.getDPI()
  • Add a ZoomChangedListener

Additionally it would be beneficial to change the NatTable internal icons to SVGs, which are now supported in SWT. This would improve the dynamic scaling feature in NatTable that was introduced with #132

There are already some information collected in this discussion: #164

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions