#BUGFIX by cg draft
authorClaus Gittinger <cg@exept.de>
Wed, 18 Jul 2018 13:36:53 +0200
changeset 3575 a9fc2d3553f3
parent 3574 ea4dce86360d
child 3576 e62c95ddd17b
#BUGFIX by cg class: UIPainterView changed: #pasteSpecifications:into:beforeIndex:keepLayout:keepPosition:at: clear layout when pasting into a panel
UIPainterView.st
--- a/UIPainterView.st	Tue Jul 17 09:27:23 2018 +0200
+++ b/UIPainterView.st	Wed Jul 18 13:36:53 2018 +0200
@@ -1,5 +1,3 @@
-"{ Encoding: utf8 }"
-
 "
  COPYRIGHT (c) 1995 by Claus Gittinger / eXept Software AG
 	      All Rights Reserved
@@ -489,6 +487,11 @@
         beforeIndex notNil ifTrue:[
             beforeIndex := beforeIndex + 1
         ].
+
+        containerToPasteInto isLayoutWrapper ifTrue:[
+            eachSpec layout:(#extent->view extent)
+        ].
+        
         (keepLayout or:[eachSpec keepUILayout]) ifTrue:[
             eachSpec layout isAssociation ifTrue:[
                 eachSpec layout key == #extent ifTrue:[
@@ -566,6 +569,7 @@
     ^ newSel
 
     "Modified: / 16-11-2017 / 23:49:56 / cg"
+    "Modified: / 18-07-2018 / 09:15:44 / Claus Gittinger"
 !
 
 pasteSpecifications:aSpecificationOrList into:aContainerOrNil keepLayout:keepLayout keepPosition:keepPosition at:aPointOrNilOrKeep