Bug 396635 - "Launch Application" dialog clips buttons on bottom. r=mfinkle, r=gavin, a=vlad
authorsdwilsh@shawnwilsher.com
Fri, 26 Oct 2007 13:20:12 -0700
changeset 7215 66af8ff430bb056b4c7ed0f9c3a7e1efd45fc727
parent 7214 614fec1361553dcf823e51aa8065fb3316707f42
child 7216 54009abbeadeebff3988609a89a8cde481f8f470
push id1
push userbsmedberg@mozilla.com
push dateThu, 20 Mar 2008 16:49:24 +0000
treeherdermozilla-central@61007906a1f8 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmfinkle, gavin, vlad
bugs396635
milestone1.9a9pre
Bug 396635 - "Launch Application" dialog clips buttons on bottom. r=mfinkle, r=gavin, a=vlad
toolkit/locales/en-US/chrome/mozapps/handling/handling.dtd
toolkit/mozapps/handling/content/dialog.xul
--- a/toolkit/locales/en-US/chrome/mozapps/handling/handling.dtd
+++ b/toolkit/locales/en-US/chrome/mozapps/handling/handling.dtd
@@ -1,5 +1,5 @@
-<!ENTITY window.width "320">
-<!ENTITY window.height "250">
+<!ENTITY window.emWidth "26em">
+<!ENTITY window.emHeight "26em">
 <!ENTITY ChooseApp.description "Choose an Application">
 <!ENTITY ChooseApp.label "Choose...">
 <!ENTITY ChooseApp.accessKey "C">
--- a/toolkit/mozapps/handling/content/dialog.xul
+++ b/toolkit/mozapps/handling/content/dialog.xul
@@ -39,18 +39,18 @@
    -
    - ***** END LICENSE BLOCK ***** -->
 
 <!DOCTYPE dialog SYSTEM "chrome://mozapps/locale/handling/handling.dtd">
 
 <dialog id="handling"
         ondialogaccept="return dialog.onAccept();"
         onload="dialog.initialize();"
-        width="&window.width;" height="&window.height;"
-        persist="width height screenX screenY sizemode"
+        style="min-width: &window.emWidth;; min-height: &window.emHeight;;"
+        persist="width height screenX screenY"
         xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
 
   <script src="chrome://mozapps/content/handling/dialog.js" type="application/javascript"/>
 
   <stringbundleset id="strings">
     <stringbundle id="base-strings"
                   src="chrome://mozapps/locale/handling/handling.properties"/>
   </stringbundleset>