T_Text.qml 681 B

123456789101112131415161718192021222324252627282930313233343536
  1. import QtQuick
  2. import QtQuick.Controls
  3. import QtQuick.Layouts
  4. import QtQuick.Window
  5. import FluentUI
  6. import "../component"
  7. FluScrollablePage{
  8. title:"Text"
  9. leftPadding:10
  10. rightPadding:10
  11. bottomPadding:20
  12. spacing: 0
  13. FluArea{
  14. Layout.fillWidth: true
  15. Layout.topMargin: 20
  16. height: 60
  17. paddings: 10
  18. FluCopyableText{
  19. text: "这是一个可以支持复制的Text"
  20. anchors.verticalCenter: parent.verticalCenter
  21. }
  22. }
  23. CodeExpander{
  24. Layout.fillWidth: true
  25. Layout.topMargin: -1
  26. code:'FluCopyableText{
  27. text:"这是一个可以支持复制的Text"
  28. }'
  29. }
  30. }