diff options
Diffstat (limited to 'app/pages/ManagementPage.qml')
-rw-r--r-- | app/pages/ManagementPage.qml | 19 |
1 files changed, 4 insertions, 15 deletions
diff --git a/app/pages/ManagementPage.qml b/app/pages/ManagementPage.qml index e445c63..b622706 100644 --- a/app/pages/ManagementPage.qml +++ b/app/pages/ManagementPage.qml @@ -48,21 +48,10 @@ Page { Layout.preferredWidth: 100 Layout.preferredHeight: 100 - Image { - id: imageicon - anchors.fill: parent - source: model.icon != ""?'file://' + model.icon : 'qrc:/images/blank.svg' - property string initial: model.name.substring(0,1).toUpperCase() - - Label { - style: Text.Outline - styleColor: "#00ADDC" - color: 'transparent' - font.pixelSize: parent.height * 0.5 - anchors.centerIn: parent - text: parent.initial - visible: model.icon == "" - } + DImage { + id: imageicon + icon: model.icon != ""?'file://' + model.icon : '' + name: model.name } } ColumnLayout { |