#BUGFIX by cg draft
authorClaus Gittinger <cg@exept.de>
Wed, 15 Nov 2017 12:09:38 +0100
changeset 3501 de5acee79014
parent 3500 51cbdcf5b2cb
child 3502 88523ed65628
#BUGFIX by cg class: UILayoutTool changed: #cornerRelative:xOrY:
UILayoutTool.st
--- a/UILayoutTool.st	Sat Nov 11 17:30:01 2017 +0100
+++ b/UILayoutTool.st	Wed Nov 15 12:09:38 2017 +0100
@@ -749,8 +749,8 @@
     offsetSymb := (what,   'Offset') asSymbol.
     fractHolder := (self aspectFor:fractSymb).
     offsetHolder := (self aspectFor:offsetSymb).
-    fraction   := fractHolder  value.
-    offset     := offsetHolder value.
+    fraction   := fractHolder value ? 0.
+    offset     := offsetHolder value ? 0.
 
     newOffset := offset + ((fraction * extent) asInteger).
     newOffset := newOffset - extent.
@@ -759,8 +759,7 @@
     fractHolder  value:newFraction.
     offsetHolder value:newOffset.
 
-
-
+    "Modified: / 15-11-2017 / 12:09:20 / cg"
 !
 
 rightRelativeLeft