The Trunk: Morphic-mt.901.mcz

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

The Trunk: Morphic-mt.901.mcz

commits-2
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.!