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:
o OSComboBox class >> #arrowExtent
o OSDateTimePicker class >> #arrowExtent
o OSButton class >> #checkExtent
o OSButton class >> #hArrowExtent
o OSButton class >> #vArrowExtent
o OSProgressBar class >> #hBarExtent
o OSScrollBar class >> #hBarExtent
o OSTrackBar class >> #hBarExtent
o OSScrollBar class >> #vBarExtent
o 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