diff options
author | zheng_wenlong <wenlong_zheng@nexty-ele.com> | 2018-12-25 15:47:20 +0900 |
---|---|---|
committer | zheng_wenlong <wenlong_zheng@nexty-ele.com> | 2018-12-25 15:47:20 +0900 |
commit | f47c7f522892f502fe8880de45b77ce401a6cb29 (patch) | |
tree | 9ef729bbb0a5050a4363d36e4606b61f77bc52a4 /app/pages/ManagementPage.qml | |
parent | f77608d1ee6464009f49cd30d946f149571acbc3 (diff) |
change icon sizesandbox/zheng_wenlong/warehouse
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 { |