[squeak-dev] The Inbox: PreferenceBrowser-ct.116.mcz

commits at source.squeak.org commits at source.squeak.org
Tue Jul 20 17:53:01 UTC 2021

A new version of PreferenceBrowser was added to project The Inbox:

==================== Summary ====================

Name: PreferenceBrowser-ct.116
Author: ct
Time: 20 July 2021, 7:52:59.029207 pm
UUID: 87cd6780-b731-6048-8983-19248f25cf59
Ancestors: PreferenceBrowser-mt.115

Proposal: Have the 'more' button in preferences act on mouse down instead of mouse up. We have established the UI pattern to use "act on mouse down" for all buttons that open a menu so that every menu action can be reached with a single click-and-drag gesture. See also Morphic-ct.1659.

=============== Diff against PreferenceBrowser-mt.115 ===============

Item was changed:
  ----- Method: PBPreferenceButtonMorph>>moreButton (in category 'extra controls') -----
  	^moreButton ifNil: 
  		[moreButton := self basicButton 
+ 						label: 'more' translated;
- 						label: 'more' translated; 
  							'Click here for advanced options'translated;
+ 						triggerOnMouseDown: true;
  						actionSelector: #advancedOptionsSelected]!

More information about the Squeak-dev mailing list