bug 826783 - make certificate viewer more flexible about its minimum size r=mgoodwin
authorDavid Keeler <dkeeler@mozilla.com>
Fri, 24 Jun 2016 10:23:18 -0700
changeset 343138 d985d574aea68b484d057e7a80a2172750b5db45
parent 343137 231f18c06694da3d6cda786e4055f262a04e6a3c
child 343139 9b74631965e4d5958ba3af055e162822ae8a782a
push id6389
push userraliiev@mozilla.com
push dateMon, 19 Sep 2016 13:38:22 +0000
treeherdermozilla-beta@01d67bfe6c81 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmgoodwin
bugs826783
milestone50.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
bug 826783 - make certificate viewer more flexible about its minimum size r=mgoodwin This makes the certificate viewer able to shrink itself down a bit on small screen sizes. Without this patch, the "Close" button would be off the screen on small resolutions like 1024x768. On larger screen sizes, this patch should have no effect on the initial size of the certificate viewer window (although it now can be made smaller manually). MozReview-Commit-ID: IET9dxx23Xc
security/manager/pki/resources/content/certDump.xul
--- a/security/manager/pki/resources/content/certDump.xul
+++ b/security/manager/pki/resources/content/certDump.xul
@@ -8,36 +8,36 @@
 <overlay id="certDumpOverlay"
          xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
          xmlns:cert="http://netscape.com/rdf-cert#"
          xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
 <vbox class="box-padded" id="certPrettyPrint" flex="1">
   <label class="header" value="&certmgr.hierarchy.label;"
          control="treesetDump" accesskey="&certmgr.hierarchy.accesskey2;"/>
   <tree id="treesetDump" onselect="updateCertDump();" flex="1"
-        hidecolumnpicker="true" style="min-height: 8em;">
+        hidecolumnpicker="true" style="height: 8em;">
     <treecols>
       <treecol id="dumpCol" flex="1" primary="true" hideheader="true"/>
     </treecols>
   </tree>
 
   <label class="header" value="&certmgr.details.label;"
          control="prettyDumpTree" accesskey="&certmgr.details.accesskey;"/>
-  <tree id="prettyDumpTree" style="min-height: 15em" treelines="true" flex="1"
+  <tree id="prettyDumpTree" style="height: 15em" treelines="true" flex="1"
             onselect="displaySelected();" hidecolumnpicker="true">
     <treecols>
       <treecol flex="1" id="certDataCol" primary="true" hideheader="true"/>
     </treecols>
     <treechildren/>
   </tree>
 
   <label class="header" value="&certmgr.fields.label;"
          control="certDumpVal" accesskey="&certmgr.fields.accesskey;"/>
   <textbox id="certDumpVal" multiline="true" flex="1"
-           readonly="true" style="min-height: 11em; font-family: -moz-fixed;"/>
+           readonly="true" style="height: 11em; font-family: -moz-fixed;"/>
 
   <separator class="thin"/>
   <hbox>
     <button id="export_cert" class="normal" label="&certmgr.export.label;"
             accesskey="&certmgr.export.accesskey;"
             oncommand="exportToFile(window, getCurrentCert());"/>
   </hbox>
 </vbox>