class: AbstractLauncherApplication
authorClaus Gittinger <cg@exept.de>
Thu, 03 Jul 2014 20:38:18 +0200
changeset 14571 75b4e99a3384
parent 14570 021889add627
child 14572 3ea2ce89adf0
class: AbstractLauncherApplication added: #viewSelectAndShrink
AbstractLauncherApplication.st
--- a/AbstractLauncherApplication.st	Thu Jul 03 18:09:39 2014 +0200
+++ b/AbstractLauncherApplication.st	Thu Jul 03 20:38:18 2014 +0200
@@ -2460,6 +2460,20 @@
     ]
 !
 
+viewSelectAndShrink
+    "let user pick a view and shrink it to a reasonable size
+     Added for stupid mac, to get windows back onto the screen,
+     which have their resize handle hidden."
+
+    |v|
+
+    (v := self pickAView) notNil ifTrue:[
+        v topView 
+            origin:50@50 extent:200@200;
+            raise
+    ]
+!
+
 widgetHardcopy
     "after a second (to allow redraw of views under menu ...),
      let user specify a widget and save its contents."
@@ -6964,14 +6978,14 @@
 !AbstractLauncherApplication class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libtool/AbstractLauncherApplication.st,v 1.462 2014-06-23 08:59:50 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libtool/AbstractLauncherApplication.st,v 1.463 2014-07-03 18:38:18 cg Exp $'
 !
 
 version_CVS
-    ^ '$Header: /cvs/stx/stx/libtool/AbstractLauncherApplication.st,v 1.462 2014-06-23 08:59:50 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libtool/AbstractLauncherApplication.st,v 1.463 2014-07-03 18:38:18 cg Exp $'
 !
 
 version_SVN
-    ^ '$Id: AbstractLauncherApplication.st,v 1.462 2014-06-23 08:59:50 cg Exp $'
+    ^ '$Id: AbstractLauncherApplication.st,v 1.463 2014-07-03 18:38:18 cg Exp $'
 ! !