gecko-dev/webshell/tests/viewer/samples/toolbarTest1.xul

52 строки
1.6 KiB
Plaintext
Исходник Обычный вид История

1999-03-05 23:17:45 +03:00
<?xml version="1.0"?>
2000-04-20 01:42:30 +04:00
<?xml-stylesheet href="chrome://navigator/skin/navigator.css" type="text/css"?>
1999-03-05 23:17:45 +03:00
<!DOCTYPE window>
<window align="vertical" xmlns:html="http://www.w3.org/1999/xhtml"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
onConstruction="Startup()">
1999-04-07 04:10:22 +04:00
1999-08-06 03:44:56 +04:00
<html:div>
<html:h1>Toolbar Test 1</html:h1>
1999-03-05 23:17:45 +03:00
1999-08-06 03:44:56 +04:00
<html:h3>
You should see a two toolbars with buttons that don't do anything. This test is useful for checking layout
and look/feel of rollover and clicks. Note that the last toolbar is empty, and should be of
normal size because of min-height.
</html:h3>
1999-03-05 23:17:45 +03:00
1999-08-06 03:44:56 +04:00
<html:hr/>
</html:div>
1999-03-05 23:17:45 +03:00
1999-08-06 03:44:56 +04:00
<toolbox style="min-width: 10px">
1999-04-07 04:10:22 +04:00
<toolbar>
1999-08-06 03:44:56 +04:00
<titledbutton id="back-button" align="top" value="Back"/>
<titledbutton id="forward-button" align="top" value="Forward"/>
<titledbutton id="reload-button" align="top" value="Reload"/>
<titledbutton id="stop-button" align="top" value="Stop"/>
<titledbutton id="home-button" align="top" value="Home"/>
<titledbutton id="print-button" align="top" value="Print"/>
1999-04-07 04:10:22 +04:00
<box align="vertical" flex="100%">
<spring flex="100%"/>
1999-08-06 03:44:56 +04:00
<html:input id="urlbar" type="text"/>
1999-04-07 04:10:22 +04:00
<spring flex="100%"/>
</box>
<titledbutton src="resource:/res/throbber/anims00.gif" align="right"/>
1999-04-07 04:10:22 +04:00
1999-03-05 23:17:45 +03:00
</toolbar>
<toolbar>
1999-08-06 03:44:56 +04:00
<titledbutton align="left" id="translate-button" value="Mozilla" />
<titledbutton align="left" id="translate-button" value="ABC News"/>
<spring flex="100%"/>
1999-03-05 23:17:45 +03:00
</toolbar>
<toolbar>
</toolbar>
1999-04-07 04:10:22 +04:00
</toolbox>
1999-03-05 23:17:45 +03:00
</window>