info bar subspec changed
authortz
Fri, 30 Jan 1998 15:05:54 +0100
changeset 535 1caf545614c5
parent 534 25e349c437d2
child 536 3991e37ec19f
info bar subspec changed
ImageEditor.st
MenuEditor.st
--- a/ImageEditor.st	Fri Jan 30 15:04:16 1998 +0100
+++ b/ImageEditor.st	Fri Jan 30 15:05:54 1998 +0100
@@ -532,7 +532,7 @@
                     #'name:' 'infoBarSubSpec'
                     #'layout:' #(#LayoutFrame 0 0.0 -22 1 0 1.0 0 1.0)
                     #'majorKey:' #ToolApplicationModel
-                    #'minorKey:' #windowSpecForInfoBar
+                    #'minorKey:' #windowSpecForInfoBarWithClock
                 )
               )
           )
@@ -1472,6 +1472,15 @@
 
 ! !
 
+!ImageEditor methodsFor:'queries'!
+
+preferredExtent
+
+    ^super preferredExtent max: (Screen current width//3)@(Screen current height//3.5)
+
+
+! !
+
 !ImageEditor methodsFor:'selection'!
 
 magnification
--- a/MenuEditor.st	Fri Jan 30 15:04:16 1998 +0100
+++ b/MenuEditor.st	Fri Jan 30 15:05:54 1998 +0100
@@ -916,7 +916,7 @@
                     #'name:' 'infoBarSubSpec'
                     #'layout:' #(#LayoutFrame 0 0.0 -22 1 0 1.0 0 1.0)
                     #'majorKey:' #ToolApplicationModel
-                    #'minorKey:' #windowSpecForInfoBar
+                    #'minorKey:' #windowSpecForInfoBarWithClock
                 )
               )
           )
@@ -1635,6 +1635,13 @@
     "returns true in case of owner of the helptool"
 
     ^self masterApplication isNil
+!
+
+preferredExtent
+
+    ^super preferredExtent max: (Screen current width//3)@(Screen current height//2.5)
+
+
 ! !
 
 !MenuEditor methodsFor:'selection'!