Web Interface For Lite Argus Control modules
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

49 lines
1.1 KiB

​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
  1. /*!
  2. * Ext JS Library 3.3.1
  3. * Copyright(c) 2006-2010 Sencha Inc.
  4. * licensing@sencha.com
  5. * http://www.sencha.com/license
  6. */
  7. /*
  8. * CenterLayout demo panel
  9. */
  10. var centerLayout = {
  11. id: 'center-panel',
  12. layout: 'ux.center',
  13. items: {
  14. title: 'Centered Panel: 75% of container width and fit height',
  15. layout: 'ux.center',
  16. autoScroll: true,
  17. width: '75%',
  18. bodyStyle: 'padding:20px 0;',
  19. items: [{
  20. title: 'Inner Centered Panel',
  21. html: 'Fixed 300px wide and auto height. The container panel will also autoscroll if narrower than 300px.',
  22. width: 300,
  23. frame: true,
  24. autoHeight: true,
  25. bodyStyle: 'padding:10px 20px;'
  26. }]
  27. }
  28. };
  29. /*
  30. * RowLayout demo panel
  31. */
  32. var rowLayout = {
  33. id: 'row-panel',
  34. bodyStyle: 'padding:5px',
  35. layout: 'ux.row',
  36. title: 'Row Layout',
  37. items: [{
  38. title: 'Height = 25%, Width = 50%',
  39. rowHeight: 0.25,
  40. width: '50%'
  41. },{
  42. title: 'Height = 100px, Width = 300px',
  43. height: 100,
  44. width: 300
  45. },{
  46. title: 'Height = 75%, Width = fit',
  47. rowHeight: 0.75
  48. }]
  49. };