Fix binding loops for height

This commit is contained in:
Lasath Fernando 2020-04-28 00:38:13 -07:00
parent 1555dc2296
commit 84c5ff0bcb
2 changed files with 12 additions and 5 deletions

View File

@ -208,9 +208,14 @@ Page {
text: chat.model.formatDateSeparator(modelData.timestamp)
color: colors.brightText
height: contentHeight * 1.2
width: contentWidth * 1.2
horizontalAlignment: Text.AlignHCenter
// height: contentHeight * 1.2
// width: contentWidth * 1.2
leftPadding: 24
rightPadding: 24
topPadding: 8
bottomPadding: 8
horizontalAlignment: Text.AlignHCenter
background: Rectangle {
radius: parent.height / 2
color: colors.dark

View File

@ -5,8 +5,10 @@ Label {
color: colors.brightText
horizontalAlignment: Text.AlignHCenter
height: contentHeight * 1.2
width: contentWidth * 1.2
// height: contentHeight * 1.2
// width: contentWidth * 1.2
padding: 12
background: Rectangle {
radius: parent.height / 2
color: colors.dark