[Pkg] The Trunk: Morphic-mt.931.mcz

commits at source.squeak.org commits at source.squeak.org
Sun Apr 26 18:10:23 UTC 2015


Marcel Taeumel uploaded a new version of Morphic to project The Trunk:
http://source.squeak.org/trunk/Morphic-mt.931.mcz

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

Name: Morphic-mt.931
Author: mt
Time: 26 April 2015, 8:09:38.434 pm
UUID: 47b23c2e-83e5-b741-84cd-1e85f7b249dd
Ancestors: Morphic-kfr.930

Fixed a bug (regression) that was introduced with caching the minimum extent of scroll panes. This led to the File List tools being strangely layouted.

=============== Diff against Morphic-kfr.930 ===============

Item was changed:
  ----- Method: ScrollPane>>initializeScrollBars (in category 'initialization') -----
  initializeScrollBars
  	"Initialize vertical and horizontal scroll bars."
  
  	(scrollBar := ScrollBar on: self getValue: nil setValue: #vScrollBarValue:)
  			menuSelector: #vScrollBarMenuButtonPressed:;
+ 			extent: 5 at 10;
  			orientation: #vertical.
  	(hScrollBar := ScrollBar on: self getValue: nil setValue: #hScrollBarValue:)
  			menuSelector: #hScrollBarMenuButtonPressed:;
+ 			extent: 10 at 5;
  			orientation: #horizontal.
  
  	""
  	scroller := TransformMorph new color: Color transparent.
  	scroller offset: 0 @ 0.
  	self addMorph: scroller.
  	""
  	scrollBar initializeEmbedded: retractableScrollBar not.
  	hScrollBar initializeEmbedded: retractableScrollBar not.
  	retractableScrollBar ifFalse: 
  			[self 
  				addMorph: scrollBar;
  				addMorph: hScrollBar].
  	self updateMinimumExtent.!



More information about the Packages mailing list