#BUGFIX by stefan
class: UIObjectView
changed: #shiftLayout:top:bottom:left:right:
do not add 0 if a layout component is a Block
--- a/UIObjectView.st Sun Apr 17 23:41:20 2016 +0200
+++ b/UIObjectView.st Tue Apr 19 15:44:55 2016 +0200
@@ -1408,8 +1408,12 @@
topOffset:(layout topOffset + t).
type == #LayoutFrame ifTrue:[
- layout bottomOffset:(layout bottomOffset + b).
- layout rightOffset:(layout rightOffset + r).
+ b ~= 0 ifTrue:[
+ layout bottomOffset:(layout bottomOffset + b).
+ ].
+ r ~= 0 ifTrue:[
+ layout rightOffset:(layout rightOffset + r).
+ ].
]
] ifFalse:[
type == #Rectangle ifTrue:[