ImageEditor.st
changeset 535 1caf545614c5
parent 519 085cf69fcd6c
child 544 8fa6ee20c3cd
equal deleted inserted replaced
534:25e349c437d2 535:1caf545614c5
   530                 )
   530                 )
   531                  #(#UISubSpecification
   531                  #(#UISubSpecification
   532                     #'name:' 'infoBarSubSpec'
   532                     #'name:' 'infoBarSubSpec'
   533                     #'layout:' #(#LayoutFrame 0 0.0 -22 1 0 1.0 0 1.0)
   533                     #'layout:' #(#LayoutFrame 0 0.0 -22 1 0 1.0 0 1.0)
   534                     #'majorKey:' #ToolApplicationModel
   534                     #'majorKey:' #ToolApplicationModel
   535                     #'minorKey:' #windowSpecForInfoBar
   535                     #'minorKey:' #windowSpecForInfoBarWithClock
   536                 )
   536                 )
   537               )
   537               )
   538           )
   538           )
   539       )
   539       )
   540 !
   540 !
  1470 
  1470 
  1471 
  1471 
  1472 
  1472 
  1473 ! !
  1473 ! !
  1474 
  1474 
       
  1475 !ImageEditor methodsFor:'queries'!
       
  1476 
       
  1477 preferredExtent
       
  1478 
       
  1479     ^super preferredExtent max: (Screen current width//3)@(Screen current height//3.5)
       
  1480 
       
  1481 
       
  1482 ! !
       
  1483 
  1475 !ImageEditor methodsFor:'selection'!
  1484 !ImageEditor methodsFor:'selection'!
  1476 
  1485 
  1477 magnification
  1486 magnification
  1478 
  1487 
  1479     (builder componentAt: #imageEditView) isNil ifTrue: [^1].
  1488     (builder componentAt: #imageEditView) isNil ifTrue: [^1].