PanelView.st
changeset 6076 00cfb3845256
parent 5951 6678c0b6d0cb
child 6165 ff8b7a83327f
equal deleted inserted replaced
6075:47bab7b3cf8a 6076:00cfb3845256
   449 ! !
   449 ! !
   450 
   450 
   451 !PanelView methodsFor:'initialization'!
   451 !PanelView methodsFor:'initialization'!
   452 
   452 
   453 initialize
   453 initialize
       
   454     <modifier: #super> "must be called if redefined"
       
   455 
   454     super initialize.
   456     super initialize.
   455 
   457 
   456     hLayout := vLayout := #center.  "/ notice, this is ignored in this class
   458     hLayout := vLayout := #center.  "/ notice, this is ignored in this class
   457 				    "/ used by subclasses only
   459                                     "/ used by subclasses only
   458     verticalSpace := ViewSpacing.
   460     verticalSpace := ViewSpacing.
   459     horizontalSpace := ViewSpacing.
   461     horizontalSpace := ViewSpacing.
   460     mustRearrange := elementsChangeSize := false.
   462     mustRearrange := elementsChangeSize := false.
   461     ignoreInvisibleComponents := true.
   463     ignoreInvisibleComponents := true.
       
   464 
       
   465     "Modified: / 08-02-2017 / 00:35:19 / cg"
   462 !
   466 !
   463 
   467 
   464 mapped
   468 mapped
   465     mustRearrange ifTrue:[
   469     mustRearrange ifTrue:[
   466         self setChildPositions
   470         self setChildPositions