Bug 414481: Get Add-ons Tab: make EULA text selectable. r=robstrong,

a=beltzner


git-svn-id: svn://10.0.0.236/trunk@247272 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
dtownsend%oxymoronical.com
2008-03-07 01:56:21 +00:00
parent 5e2822fe21
commit 191d39caa0
4 changed files with 22 additions and 20 deletions

View File

@@ -39,5 +39,5 @@ function Startup() {
var bundle = document.getElementById("extensionsStrings");
var label = document.createTextNode(bundle.getFormattedString("eulaHeader", [window.arguments[0].name]));
document.getElementById("heading").appendChild(label);
document.getElementById("eula").appendChild(document.createTextNode(window.arguments[0].text));
document.getElementById("eula").value = window.arguments[0].text;
}

View File

@@ -61,8 +61,6 @@
<label id="heading"/>
<vbox id="scrollbox" flex="1">
<description id="eula"/>
</vbox>
<textbox id="eula" multiline="true" readonly="true" flex="1"/>
</dialog>

View File

@@ -2,15 +2,18 @@
font-size: 120%;
}
#scrollbox {
overflow-y: auto;
#eula {
-moz-appearance: none;
font-family: monospace;
color: -moz-dialogtext;
background-color: window;
border: 1px solid ActiveBorder;
margin: 1em 0 1em 0;
padding: 5px;
border: 1px solid;
-moz-border-top-colors: ActiveBorder;
-moz-border-right-colors: ActiveBorder;
-moz-border-bottom-colors: ActiveBorder;
-moz-border-left-colors: ActiveBorder;
-moz-border-radius-topright: 0;
-moz-border-radius-bottomleft: 0;
}
#eula {
font-family: monospace;
white-space: -moz-pre-wrap;
}

View File

@@ -2,15 +2,16 @@
font-size: 120%;
}
#scrollbox {
overflow-y: auto;
#eula {
-moz-appearance: none;
font-family: monospace;
color: -moz-dialogtext;
background-color: window;
border: 1px solid ActiveBorder;
margin: 1em 0 1em 0;
padding: 5px;
border: 1px solid;
-moz-border-top-colors: ActiveBorder;
-moz-border-right-colors: ActiveBorder;
-moz-border-bottom-colors: ActiveBorder;
-moz-border-left-colors: ActiveBorder;
}
#eula {
font-family: monospace;
white-space: -moz-pre-wrap;
}