#DOCUMENTATION by cg
authorClaus Gittinger <cg@exept.de>
Thu, 31 Aug 2017 20:17:30 +0200
changeset 3473 3449a8a8aecc
parent 3472 f6c63e715a5b
child 3474 53970d18e17c
#DOCUMENTATION by cg class: UIObjectView comment/format in: #resize:bottom: #resize:bottomLeft: #resize:corner: #resize:handle:to:check: #resize:left: #resize:origin: #resize:right: #resize:top: #resize:topRight:
UIObjectView.st
--- a/UIObjectView.st	Wed Aug 30 16:03:35 2017 +0200
+++ b/UIObjectView.st	Thu Aug 31 20:17:30 2017 +0200
@@ -1096,16 +1096,18 @@
 !
 
 resize:aView bottom:aPoint
-    "obsolete: resize a views bottom"
+    "obsolete: resize a view's bottom"
 
     self resize:aView handle:#bottom to:aPoint check:false.
 "/    undoHistory withoutTransactionDo:[
 "/        self shiftLayout:aView top:0 bottom:((aPoint y) - (aView computeCorner y))
 "/    ].
+
+    "Modified (comment): / 31-08-2017 / 20:16:31 / cg"
 !
 
 resize:aView bottomLeft:aPoint
-    "obsolete: resize a views bottom and left"
+    "obsolete: resize a view's bottom and left"
 
     self resize:aView handle:#bottomLeft to:aPoint check:false.
 "/    undoHistory withoutTransactionDo:[
@@ -1115,10 +1117,12 @@
 "/                             right:0
 "/
 "/    ]
+
+    "Modified (comment): / 31-08-2017 / 20:16:35 / cg"
 !
 
 resize:aView corner:aPoint
-    "obsolete: resize a views corner"
+    "obsolete: resize a view's corner"
 
     self resize:aView handle:#corner to:aPoint check:false.
 "/    |delta|
@@ -1127,6 +1131,8 @@
 "/    undoHistory withoutTransactionDo:[
 "/        self shiftLayout:aView top:0 bottom:(delta y) left:0 right:(delta x)
 "/    ]
+
+    "Modified (comment): / 31-08-2017 / 20:16:40 / cg"
 !
 
 resize:aComponent endPoint:newEndPoint
@@ -1141,7 +1147,7 @@
 !
 
 resize:aComponent handle:aSymbol to:aPoint check:doCheck
-    "resize a views handle - if doCheck is true, only check if the handle would change
+    "resize a view's handle - if doCheck is true, only check if the handle would change
      (used to avoid flicker, when an aligned move would actually not move anything)"
 
     <ignore: RBReturnsBooleanAndOtherRule rationale:'only returns boolean if doCheck' author:'cg'>
@@ -1221,19 +1227,22 @@
     ].
 
     "Modified: / 16-07-2017 / 14:00:05 / cg"
+    "Modified (comment): / 31-08-2017 / 20:16:50 / cg"
 !
 
 resize:aView left:aPoint
-    "obsolete: resize a views left"
+    "obsolete: resize a view's left"
 
     self resize:aView handle:#left to:aPoint check:false.
 "/    undoHistory withoutTransactionDo:[
 "/        self shiftLayout:aView left:((aPoint x) - (aView computeOrigin x)) right:0
 "/    ]
+
+    "Modified (comment): / 31-08-2017 / 20:16:56 / cg"
 !
 
 resize:aView origin:aPoint
-    "obsolete: resize a views origin"
+    "obsolete: resize a view's origin"
 
     self resize:aView handle:#origin to:aPoint check:false.
 "/    |delta|
@@ -1242,15 +1251,19 @@
 "/    undoHistory withoutTransactionDo:[
 "/        self shiftLayout:aView top:(delta y) bottom:0 left:(delta x) right:0
 "/    ]
+
+    "Modified (comment): / 31-08-2017 / 20:17:06 / cg"
 !
 
 resize:aView right:aPoint
-    "obsolete: resize a views right"
+    "obsolete: resize a view's right"
 
     self resize:aView handle:#right to:aPoint check:false.
 "/    undoHistory withoutTransactionDo:[
 "/        self shiftLayout:aView left:0 right:((aPoint x) - (aView computeCorner x))
 "/    ]
+
+    "Modified (comment): / 31-08-2017 / 20:17:11 / cg"
 !
 
 resize:aComponent startPoint:newStartPoint
@@ -1264,7 +1277,7 @@
 !
 
 resize:aView top:aPoint
-    "obsolete: resize a views top"
+    "obsolete: resize a view's top"
 
     self resize:aView handle:#top to:aPoint check:false.
 "/    undoHistory withoutTransactionDo:[
@@ -1272,10 +1285,12 @@
 "/                top:((aPoint y) - (aView computeOrigin y)) 
 "/                bottom:0
 "/    ]
+
+    "Modified (comment): / 31-08-2017 / 20:17:14 / cg"
 !
 
 resize:aView topRight:aPoint
-    "obsolete: resize a views top and right"
+    "obsolete: resize a view's top and right"
 
     self resize:aView handle:#topRight to:aPoint check:false.
 "/    undoHistory withoutTransactionDo:[
@@ -1285,6 +1300,8 @@
 "/                left:0
 "/                right:((aPoint x) - (aView computeCorner x))
 "/    ]
+
+    "Modified (comment): / 31-08-2017 / 20:17:19 / cg"
 !
 
 startResizeBorder:borderHandleSelector