The Trunk: Morphic-kfr.923.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-kfr.923.mcz

commits-2
Karl Ramberg uploaded a new version of Morphic to project The Trunk:
http://source.squeak.org/trunk/Morphic-kfr.923.mcz

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

Name: Morphic-kfr.923
Author: kfr
Time: 24 April 2015, 4:33:41.545 pm
UUID: 1ebca962-adbb-a946-b67e-86dfe4e5c113
Ancestors: Morphic-kfr.922

Menu item for getting a copy of morphs layout properties

=============== Diff against Morphic-kfr.922 ===============

Item was changed:
  ----- Method: Morph>>addLayoutMenuItems:hand: (in category 'layout-menu') -----
  addLayoutMenuItems: topMenu hand: aHand
  | aMenu |
  aMenu := MenuMorph new defaultTarget: self.
  aMenu addUpdating: #hasNoLayoutString action: #changeNoLayout.
  aMenu addUpdating: #hasProportionalLayoutString action: #changeProportionalLayout.
  aMenu addUpdating: #hasTableLayoutString action: #changeTableLayout.
  aMenu addLine.
  aMenu add: 'change layout inset...' translated action: #changeLayoutInset:.
  aMenu addLine.
  self addCellLayoutMenuItems: aMenu hand: aHand.
  self addTableLayoutMenuItems: aMenu hand: aHand.
+ aMenu addLine.
+ aMenu add: 'copy layout properties' translated action: #copyLayoutProperties.
  topMenu ifNotNil:[topMenu add: 'layout' translated subMenu: aMenu].
  ^aMenu!

Item was added:
+ ----- Method: Morph>>copyLayoutProperties (in category 'layout-properties') -----
+ copyLayoutProperties
+ ^Clipboard clipboardText: self layoutProperties stringWithLayout!