Bug 972702 - Make Cert Viewer details tab content resizable. r=keeler

This commit is contained in:
Cykesiopka 2014-05-27 20:58:00 +02:00
parent 431d926339
commit 00f176ef95
2 changed files with 14 additions and 15 deletions

View File

@ -5,32 +5,32 @@
<!DOCTYPE overlay SYSTEM "chrome://pippki/locale/certManager.dtd">
<overlay id="certDumpOverlay"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:cert="http://netscape.com/rdf-cert#"
<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;"/>
<tree id="treesetDump" onselect="updateCertDump();"
hidecolumnpicker="true" style="height: 8em;">
<tree id="treesetDump" onselect="updateCertDump();" flex="1"
hidecolumnpicker="true" style="min-height: 8em;">
<treecols>
<treecol id="dumpCol" flex="1" primary="true" hideheader="true"/>
</treecols>
</tree>
<label class="header" value="&certmgr.details.label;"/>
<tree id="prettyDumpTree" style="height: 15em" treelines="true"
<tree id="prettyDumpTree" style="min-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;"/>
<textbox id="certDumpVal" multiline="true" rows="8"
readonly="true" style="font-family: -moz-fixed;"/>
<textbox id="certDumpVal" multiline="true" flex="1"
readonly="true" style="min-height: 11em; font-family: -moz-fixed;"/>
<separator class="thin"/>
<hbox>
<button id="export_cert" class="normal" label="&certmgr.export.label;"

View File

@ -10,8 +10,7 @@
<?xul-overlay href="chrome://pippki/content/viewCertDetails.xul"?>
<?xul-overlay href="chrome://pippki/content/certDump.xul"?>
<dialog id="certDetails"
<dialog id="certDetails"
title="&certmgr.certdetail.title;"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
buttons="accept"
@ -24,14 +23,14 @@
<script type="application/javascript" src="chrome://pippki/content/viewCertDetails.js"/>
<script type="application/javascript" src="chrome://pippki/content/pippki.js"/>
<tabbox>
<tabbox flex="1">
<tabs>
<tab id="general_tab" label="&certmgr.detail.general_tab.title;"
accesskey="&certmgr.detail.general_tab.accesskey;"/>
<tab id="prettyprint_tab" label="&certmgr.detail.prettyprint_tab.title;"
accesskey="&certmgr.detail.prettyprint_tab.accesskey;"/>
</tabs>
<tabpanels>
<tabpanels flex="1">
<vbox id="general_info"/>
<vbox id="certPrettyPrint"/>
</tabpanels>