You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Depending on the user selected defaultPointSize, the developer of GUI application should be able to scale their widgets accordingly.
For Dr. Geo I added these two methods to the Theme class, but it should be a system solution because I will have clash when mixing GUI applications code in a single Cuis image:
Theme>>scaled: aFloat
" Scale the length represented by anInteger to the display density "^ aFloat *FontFamily defaultPointSize /12
and
scale: anIntegerOrCollection
" Scale the length represented by anInteger to the display density "^ (selfscaled: anIntegerOrCollection) rounded
The text was updated successfully, but these errors were encountered:
hilaire
changed the title
Scale
Scaling widget to screen density
Aug 31, 2024
hilaire
changed the title
Scaling widget to screen density
Scaling widgets to screen density
Aug 31, 2024
Depending on the user selected defaultPointSize, the developer of GUI application should be able to scale their widgets accordingly.
For Dr. Geo I added these two methods to the Theme class, but it should be a system solution because I will have clash when mixing GUI applications code in a single Cuis image:
and
The text was updated successfully, but these errors were encountered: