[squeak-dev] The Trunk: Morphic-mt.901.mcz

commits at source.squeak.org commits at source.squeak.org
Sun Apr 19 10:13:38 UTC 2015


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

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

Name: Morphic-mt.901
Author: mt
Time: 19 April 2015, 12:12:55.82 pm
UUID: 421f00bd-3de6-6b41-b67d-99035709c6d2
Ancestors: Morphic-mt.900

Found a more reasonable way to update scroll panes for proportional layout.

=============== Diff against Morphic-mt.900 ===============

Item was changed:
  ----- Method: ScrollPane>>layoutProportionallyIn: (in category 'layout') -----
  layoutProportionallyIn: newBounds
+ 	"We need to trigger our customized layout mechanism before layouting proportionally."
  
  	self layoutFrame ifNil:[^self].
+ 	
+ 	fullBounds ifNil: [
+ 		self
+ 			resizeScrollBars;
+ 			resizeScroller;
+ 			hideOrShowScrollBars].
+ 
- 	self isAutoFit ifTrue: [self fullBounds].
  	^ super layoutProportionallyIn: newBounds.!



More information about the Squeak-dev mailing list