The Trunk: Tools-mt.610.mcz

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

The Trunk: Tools-mt.610.mcz

commits-2
Marcel Taeumel uploaded a new version of Tools to project The Trunk:
http://source.squeak.org/trunk/Tools-mt.610.mcz

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

Name: Tools-mt.610
Author: mt
Time: 29 April 2015, 6:01:16.425 pm
UUID: 48dfdb32-0dff-8a45-be3c-df82f70ac2b3
Ancestors: Tools-mt.609

Remove hard-coded spacing below optional buttons in code holder. (Not needed anymore.)

=============== Diff against Tools-mt.609 ===============

Item was changed:
  ----- Method: CodeHolder>>textFrame (in category 'toolbuilder') -----
  textFrame
+ | topOffset bottomOffset |
- | spacing topOffset bottomOffset |
- spacing := 3.
  topOffset := self wantsOptionalButtons
+ ifTrue: [self buttonHeight]
+ ifFalse: [0].
- ifTrue: [self buttonHeight + spacing]
- ifFalse: [spacing].
  bottomOffset := self wantsAnnotationPane
  ifTrue: [self annotationPaneHeight negated]
  ifFalse: [0].
  ^LayoutFrame new
  leftFraction: 0 offset: 0;
  topFraction: 0 offset: topOffset;
  rightFraction: 1 offset: 0;
  bottomFraction: 1 offset: bottomOffset!