alignmentPane.html 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. <html>
  2. <head>
  3. </head>
  4. <body>
  5. <div data-dojo-type="dijit/form/Form" id="alignmentPaneForm" data-dojo-id="alignmentPaneForm">
  6. <h3 text-i18n="Options">Options</h3>
  7. <input type="radio" data-dojo-type="dijit/form/RadioButton" name="textAlign" id="radioLeft" checked value="left"/>
  8. <label text-i18n="Left" for="radioLeft"></label> <br/>
  9. <input type="radio" data-dojo-type="dijit/form/RadioButton" name="textAlign" id="radioCenter" value="center"/>
  10. <label text-i18n="Center" for="radioCenter"></label> <br/>
  11. <input type="radio" data-dojo-type="dijit/form/RadioButton" name="textAlign" id="radioRight" value="right"/>
  12. <label text-i18n="Right" for="radioRight"></label> <br/>
  13. <input type="radio" data-dojo-type="dijit/form/RadioButton" name="textAlign" id="radioJustified" value="justify"/>
  14. <label text-i18n="Justified" for="radioJustified"></label> <br/>
  15. <h3><span text-i18n="Spacing"></span> <small>(mm)</small></h3>
  16. <div style = "margin-top: 10px;">
  17. <div style = "float: right; margin-right: 200px;">
  18. <label text-i18n="Top" for="topMargin"></label>
  19. <input data-dojo-type="dijit/form/NumberSpinner" id="topMargin"
  20. value="0"
  21. data-dojo-props="smallDelta:1, constraints:{min:0,max:100}"
  22. name="topMargin"
  23. />
  24. </div>
  25. <br><br>
  26. <div style = "float: left;">
  27. <label text-i18n="Left" for="leftMargin"></label>
  28. <input data-dojo-type="dijit/form/NumberSpinner" id="leftMargin"
  29. value="0"
  30. data-dojo-props="smallDelta:1, constraints:{min:0,max:100}"
  31. name="leftMargin"
  32. />
  33. </div>
  34. <div style = "float: right; margin-right: 50px;">
  35. <label text-i18n="Right" for="rightMargin"></label>
  36. <input data-dojo-type="dijit/form/NumberSpinner" id="rightMargin"
  37. value="0"
  38. data-dojo-props="smallDelta:1, constraints:{min:0,max:100}"
  39. name="rightMargin"
  40. />
  41. </div>
  42. <br/><br>
  43. <div style = "float: right; margin-right: 200px;">
  44. <label text-i18n="Bottom" for="bottomMargin"></label>
  45. <input data-dojo-type="dijit/form/NumberSpinner" id="bottomMargin"
  46. value="0"
  47. data-dojo-props="smallDelta:1, constraints:{min:0,max:100}"
  48. name="bottomMargin"
  49. />
  50. </div>
  51. </div>
  52. </div>
  53. </body>
  54. </html>