SettingUnknown.qml 478 B

1234567891011121314151617181920
  1. // Copyright (c) 2015 Ultimaker B.V.
  2. // Uranium is released under the terms of the LGPLv3 or higher.
  3. import QtQuick 2.7
  4. import QtQuick.Controls 2.0
  5. import UM 1.2 as UM
  6. SettingItem
  7. {
  8. contents: Label
  9. {
  10. anchors.fill: parent
  11. text: propertyProvider.properties.value + " " + unit
  12. renderType: Text.NativeRendering
  13. font: UM.Theme.getFont("default")
  14. color: UM.Theme.getColor("text")
  15. verticalAlignment: Text.AlignVCenter
  16. }
  17. }