T_Slider.qml 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. import QtQuick
  2. import QtQuick.Layouts
  3. import QtQuick.Window
  4. import QtQuick.Controls
  5. import "../component"
  6. import FluentUI
  7. FluScrollablePage{
  8. title:"Slider"
  9. leftPadding:10
  10. rightPadding:10
  11. bottomPadding:20
  12. spacing: 0
  13. FluArea{
  14. Layout.fillWidth: true
  15. height: 100
  16. paddings: 10
  17. Layout.topMargin: 20
  18. FluSlider{
  19. value: 50
  20. anchors.verticalCenter: parent.verticalCenter
  21. }
  22. }
  23. CodeExpander{
  24. Layout.fillWidth: true
  25. Layout.topMargin: -1
  26. code:'FluSlider{
  27. value:50
  28. }'
  29. }
  30. FluArea{
  31. Layout.fillWidth: true
  32. height: 200
  33. paddings: 10
  34. Layout.topMargin: 20
  35. FluSlider{
  36. value: 50
  37. vertical:true
  38. anchors.left: parent.left
  39. anchors.leftMargin: 20
  40. anchors.verticalCenter: parent.verticalCenter
  41. }
  42. }
  43. CodeExpander{
  44. Layout.fillWidth: true
  45. Layout.topMargin: -1
  46. code:'FluSlider{
  47. vertical:true
  48. value:50
  49. }'
  50. }
  51. }