>> http://pastebin.mozilla.org/3603
>Please inline the code for archival purposes.
<?xml-stylesheet href="chrome://global/skin/alerts/alert.css" type="text/css"?>
<!DOCTYPE overlay SYSTEM "chrome://foxyproxy/locale/foxyproxy.dtd">
<window id="alertNotification"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
windowtype="alert:alert"
xmlns:xhtml2="http://www.w3.org/TR/xhtml2"
xmlns:wairole="http://www.w3.org/2005/01/wai-rdf/GUIRoleTaxonomy#"
xhtml2:role="wairole:alert"
align="start"
onload="onFPAlertLoad()"> // this doesn't seem to have any effect
<script type="application/x-javascript"
src="chrome://foxyproxy/content/alert.js"/>
<label id="alertTextLabel" class="alertText plain" style="width: 900px;"/>
<script>window.onload = function() {onFPAlertLoad();}</script>
</window>
>Dunno, set the width of the window and have everything else flex.
I've changed the overlay to the following. There is no load handler anymore; in
fact, no JS at all... just this overlay. I still get the same result as the
initial screenshot I posted (except 900 pixels instead of the 600 px I
originally used). Note that I've changed the class attribute of all elements in
case any of the classes in alert.css was the cause of the width restriction
(although it doesn't appear to be).
I'm completely baffled how to get rid of this ellipsis.
<?xml-stylesheet href="chrome://global/skin/alerts/alert.css" type="text/css"?>
<!DOCTYPE overlay SYSTEM "chrome://foxyproxy/locale/foxyproxy.dtd">
<window id="alertNotification"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
windowtype="alert:alert"
xmlns:xhtml2="http://www.w3.org/TR/xhtml2"
xmlns:wairole="http://www.w3.org/2005/01/wai-rdf/GUIRoleTaxonomy#"
xhtml2:role="wairole:alert"
align="start"
onload="onAlertLoad()"
style="width: 900px;">
<script src="chrome://foxyproxy/content/alert.js"/>
<hbox id="alertBox" class="" flex="1">
<hbox class="" align="center" valign="center">
<image id="alertImage"/>
</hbox>
<vbox id="alertTextBox" class="" flex="1">
<label id="alertTitleLabel" class=""/>
<label id="alertTextLabel" class="" onclick="onAlertClick();" flex="1"/>
</vbox>
</hbox>
</window>
</overlay>
_______________________________________________
Project_owners mailing list
[email protected]
http://mozdev.org/mailman/listinfo/project_owners