Update some USB printing items to controls 2

This commit is contained in:
Jaime van Kessel 2022-02-22 11:58:14 +01:00
parent f347c6aedf
commit 2c6ba3cd5d
4 changed files with 25 additions and 36 deletions

View file

@ -2,10 +2,8 @@
// Cura is released under the terms of the LGPLv3 or higher.
import QtQuick 2.10
import QtQuick.Controls 1.4
import QtQuick.Layouts 1.3
import UM 1.2 as UM
import UM 1.5 as UM
import Cura 1.0 as Cura
Item
@ -20,14 +18,12 @@ Item
width: base.width
height: UM.Theme.getSize("section").height
Label
UM.Label
{
anchors.verticalCenter: parent.verticalCenter
anchors.left: parent.left
anchors.leftMargin: UM.Theme.getSize("default_margin").width
text: label
font: UM.Theme.getFont("default")
color: UM.Theme.getColor("setting_category_text")
}
}
}