Marcel Taeumel uploaded a new version of System to project The Trunk: http://source.squeak.org/trunk/System-mt.1286.mcz
==================== Summary ====================
Name: System-mt.1286 Author: mt Time: 17 January 2022, 9:42:51.527327 am UUID: e383413b-3282-5e47-b18f-0c5404d4277b Ancestors: System-mt.1285
Add some commentary in #userInterfaceTheme so that people can figure out what to do when a property (e.g., color) does not look as expected and they managed to track down the call to #userInterfaceTheme in the source code.
=============== Diff against System-mt.1285 ===============
Item was changed: ----- Method: Object>>userInterfaceTheme (in category '*System-Preferences') ----- userInterfaceTheme + "Call this to conveniently access properties from the current user interface theme. NOTE THAT if you want to change a property in the current theme, you can either modify its entry in the property dictionary directly (see #set:for:to:) or locate its initialization code, which is usually in a subclass of UserInterfaceTheme. For example SqueakTheme class >> #addScrollables: describes UI properties around widgets that can scroll such as text fields. After modifying the init code, you have to re-initialize the theme again via UserInterfaceTheme class >> #cleanUpAndReset." - "Call this to conveniently access properties from the current user interface theme."
^ UserInterfaceThemeRequest new target: self; theme: UserInterfaceTheme current; yourself!
squeak-dev@lists.squeakfoundation.org