diff options
author | J-P Nurmi <jpnurmi@qt.io> | 2018-02-20 15:38:50 +0100 |
---|---|---|
committer | J-P Nurmi <jpnurmi@qt.io> | 2018-02-20 14:55:03 +0000 |
commit | e80d273e6f19ba0a6a0f4e830724a36785ef19f6 (patch) | |
tree | a63488fb24d61baea33ffaa341ddab694500bd38 /src | |
parent | e32f5b10808b084b5aec23641c1ebf5277ca6380 (diff) |
Material: fix ItemDelegate's vertical padding
Sync with all other delegate types. This makes ItemDelegate less prone
to losing 48px height as per the design guidelines.
Change-Id: Idf4a097440236c35213ce1cb1e9709776fd8e95f
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Diffstat (limited to 'src')
-rw-r--r-- | src/imports/controls/material/ItemDelegate.qml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/imports/controls/material/ItemDelegate.qml b/src/imports/controls/material/ItemDelegate.qml index 0efb3b93..3230ff26 100644 --- a/src/imports/controls/material/ItemDelegate.qml +++ b/src/imports/controls/material/ItemDelegate.qml @@ -52,6 +52,8 @@ T.ItemDelegate { baselineOffset: contentItem.y + contentItem.baselineOffset padding: 16 + topPadding: 8 + bottomPadding: 8 spacing: 16 icon.width: 24 |