gecko-dev/toolkit/mozapps/preferences/fontscaling.xul

56 строки
2.1 KiB
XML

<?xml version="1.0"?>
# The contents of this file are subject to the Mozilla Public
# License Version 1.1 (the "License"); you may not use this file
# except in compliance with the License. You may obtain a copy of
# the License at http://www.mozilla.org/MPL/
#
# Software distributed under the License is distributed on an "AS
# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
# implied. See the License for the specific language governing
# rights and limitations under the License.
#
# The Original Code is Mozilla Communicator client code, released
# March 31, 1998.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998-2000 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
<!DOCTYPE dialog SYSTEM "chrome://mozapps/locale/preferences/fontscaling.dtd" >
<dialog id="FontScalingDialog"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
title="&calibrateDialog.title;"
onload="gFontScalingDialog.init();"
ondialogaccept="gFontScalingDialog.onAccept();">
<script type="application/x-javascript" src="chrome://mozapps/content/preferences/fontscaling.js"/>
<vbox id="horizRuler" width="300" height="30" style="margin: 10px; margin-bottom: 0px">
<hbox height="10px" style="border-bottom: 1px solid black; border-left: 1px solid black; border-right: 1px solid black;"/>
<hbox height="10px" style="border-top: 1px solid black; border-left: 1px solid black; border-right: 1px solid black;"/>
</vbox>
<vbox align="center">
<description>&calibrate.instructions;</description>
<separator class="thin"/>
<hbox align="center">
<textbox id="horizSize" size="5"/>
<menulist id="units" persist="value">
<menupopup>
<menuitem value="inches" label="&units.inches;"/>
<menuitem value="centimetres" label="&units.centimetres;"/>
</menupopup>
</menulist>
</hbox>
</vbox>
<separator/>
</dialog>