aboutsummaryrefslogtreecommitdiffstats
path: root/src/imports/controls/material/RadioDelegate.qml
diff options
context:
space:
mode:
authorKonstantin Ritt <ritt.ks@gmail.com>2016-04-26 12:11:10 +0400
committerJ-P Nurmi <jpnurmi@qt.io>2016-04-26 14:47:55 +0000
commit3d23801a874efff4821b7ee17f6ec098e22cf97a (patch)
tree663711d8af97a154fb811238a5b5a2d354ef13ca /src/imports/controls/material/RadioDelegate.qml
parenta0f84f0815d4a50c8602eeae85c6b76bc3e763d8 (diff)
Material: Set default height for one-line item delegates
accordingly to the Material Design specs. Change-Id: I035fbd3e19f27f30b457cdedf3418cce1175b895 Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com> Reviewed-by: J-P Nurmi <jpnurmi@qt.io>
Diffstat (limited to 'src/imports/controls/material/RadioDelegate.qml')
-rw-r--r--src/imports/controls/material/RadioDelegate.qml2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/imports/controls/material/RadioDelegate.qml b/src/imports/controls/material/RadioDelegate.qml
index 8bcc86f8..ba86da03 100644
--- a/src/imports/controls/material/RadioDelegate.qml
+++ b/src/imports/controls/material/RadioDelegate.qml
@@ -76,6 +76,8 @@ T.RadioDelegate {
//! [background]
background: Rectangle {
+ implicitHeight: 48
+
visible: control.down || control.highlighted
color: control.down ? control.Material.flatButtonPressColor : control.Material.listHighlightColor
}