UIPainter.st
changeset 889 39d326722589
parent 884 a291fc248a8b
child 890 dac91d5af289
equal deleted inserted replaced
888:2712edb36a3a 889:39d326722589
  3799 
  3799 
  3800 canChangeOrderInContainer
  3800 canChangeOrderInContainer
  3801     "returns true if any selection exists and all widgets in the selection
  3801     "returns true if any selection exists and all widgets in the selection
  3802      can change their layout through to a move or align operation"
  3802      can change their layout through to a move or align operation"
  3803 
  3803 
  3804     ((selection size ~~ 1) or: [(selection at: 1) == 1]) ifTrue:[
  3804     ^(selection size == 1)  and: 
  3805         ^ false
  3805     [(selection at: 1) ~~ 1 and:   
  3806     ].
  3806     [self selectedNode parent children size > 1]] 
  3807     ^ true
  3807 
       
  3808 
  3808 !
  3809 !
  3809 
  3810 
  3810 canMoveOrAlignSelection
  3811 canMoveOrAlignSelection
  3811     "returns true if any selection exists and all widgets in the selection
  3812     "returns true if any selection exists and all widgets in the selection
  3812      can change their layout through to a move or align operation"
  3813      can change their layout through to a move or align operation"