# HG changeset patch # User Stefan Vogel # Date 1461073495 -7200 # Node ID 6ee34f6dee2f440aaa379d19a8c4f70f25172c26 # Parent 9c2a69fef5b19f03358ea4ddb993c221029232aa #BUGFIX by stefan class: UIObjectView changed: #shiftLayout:top:bottom:left:right: do not add 0 if a layout component is a Block diff -r 9c2a69fef5b1 -r 6ee34f6dee2f UIObjectView.st --- 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:[