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
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:
Display.getDPI()ZoomChangedListenerAdditionally 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