Fix padding for RoomListForm.

This commit is contained in:
Black Hat 2018-03-01 19:37:52 +08:00
parent 2ac0d0cd8b
commit 962f49a3d0
3 changed files with 7 additions and 2 deletions

View File

@ -106,17 +106,22 @@ Item {
}
Column {
width: parent.width
width: parent.width - parent.height - parent.spacing
height: parent.height
Text {
width: parent.width
text: name
color: "#424242"
font.pointSize: 16
elide: Text.ElideRight
wrapMode: Text.NoWrap
}
Text {
width: parent.width
text: value
color: "#424242"
elide: Text.ElideRight
wrapMode: Text.NoWrap
}
}
}

View File

@ -10,9 +10,9 @@
<file>qml/component/ButtonDelegate.qml</file>
<file>qml/component/ImageStatus.qml</file>
<file>qml/component/SideNav.qml</file>
<file>qml/form/ContactDetailForm.qml</file>
<file>qml/form/RoomForm.qml</file>
<file>qml/form/RoomListForm.qml</file>
<file>qml/Room.qml</file>
<file>qml/form/RoomDetailForm.qml</file>
</qresource>
</RCC>