Pman.Dialog.Image.bjs
authorAlan Knowles <alan@roojs.com>
Tue, 13 Aug 2013 07:28:56 +0000 (15:28 +0800)
committerAlan Knowles <alan@roojs.com>
Tue, 13 Aug 2013 07:28:56 +0000 (15:28 +0800)
Pman.Dialog.Image.js

Pman.Dialog.Image.bjs
Pman.Dialog.Image.js

index bb954b0..59e81f5 100644 (file)
@@ -7,7 +7,7 @@
     "items": [
         {
             "listeners": {
-                "show": "function (_self)\n{\n    // this does not really work - escape on the borders works..\n    if (this.keylistener) {\n        return;\n    }\n    this.keylistener = this.addKeyListener(27, this.hide, this);\n    \n}"
+                "show": "function (_self)\n{\n\n    // this does not really work - escape on the borders works..\n    // resize to fit.. if we have styled stuff...\n    \n    \n    if (this.keylistener) {\n        return;\n    }\n    this.keylistener = this.addKeyListener(27, this.hide, this);\n    \n}"
             },
             "closable": false,
             "collapsible": false,
index 0a5b55f..d003d93 100644 (file)
@@ -33,7 +33,11 @@ Pman.Dialog.Image = {
             listeners : {
                 show : function (_self)
                 {
+                
                     // this does not really work - escape on the borders works..
+                    // resize to fit.. if we have styled stuff...
+                    
+                    
                     if (this.keylistener) {
                         return;
                     }