Migration Guide : Migrating from Version 9.1 : HiDPI impacts class side OSWidget level extent methods
HiDPI impacts class side OSWidget level extent methods
With the addition of HiDPI capability, some class side OSWidget level extent methods have been removed..
Reason for change
The following public methods have been moved from class-side to instance-side:
OSComboBox class >> #arrowExtent
OSDateTimePicker class >> #arrowExtent
OSButton class >> #checkExtent
OSButton class >> #hArrowExtent
OSButton class >> #vArrowExtent
OSProgressBar class >> #hBarExtent
OSScrollBar class >> #hBarExtent
OSTrackBar class >> #hBarExtent
OSScrollBar class >> #vBarExtent
OSTrackBar class >> #vBarExtent
In HiDPI environments the class-side methods of the OSWidget and subclasses do not return the correct extent value. The correct extent is defined by an OSWidget (sub)instance displayed on a particular monitor and root desktop window with its own DPI-scaling.
Action required
Convert usage of the class side methods to the instance side.
 
Last modified date: 01/28/2020