Fix binding loops for height

pull/183/head
Lasath Fernando 5 years ago
parent 1555dc2296
commit 84c5ff0bcb
  1. 11
      resources/qml/TimelineView.qml
  2. 6
      resources/qml/delegates/Pill.qml

@ -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

@ -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

Loading…
Cancel
Save