test_dialog.xul 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. <?xml version="1.0"?>
  2. <!-- This Source Code Form is subject to the terms of the Mozilla Public
  3. - License, v. 2.0. If a copy of the MPL was not distributed with this
  4. - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
  5. <!DOCTYPE testdialog [
  6. <!ENTITY % dialogDTD SYSTEM "chrome://marionette/content/test_dialog.dtd" >
  7. %dialogDTD;
  8. ]>
  9. <?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
  10. <dialog id="testDialog"
  11. xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  12. title="&testDialog.title;"
  13. buttons="accept,cancel">
  14. <vbox flex="1" style="min-width: 300px; min-height: 500px;">
  15. <label>&settings.label;</label>
  16. <separator class="thin"/>
  17. <richlistbox id="test-list" flex="1">
  18. <richlistitem id="item-choose" orient="horizontal" selected="true">
  19. <label id="choose-label" value="First Entry" flex="1"/>
  20. <button id="choose-button" oncommand="" label="Choose..."/>
  21. </richlistitem>
  22. </richlistbox>
  23. <separator class="thin"/>
  24. <checkbox id="check-box" label="Test Mode 2" />
  25. <hbox align="center">
  26. <label id="text-box-label" control="text-box">Name:</label>
  27. <textbox id="text-box" flex="1" />
  28. </hbox>
  29. </vbox>
  30. </dialog>