mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-22 11:00:48 +03:00
Fix binding loops for height
This commit is contained in:
parent
1555dc2296
commit
84c5ff0bcb
2 changed files with 12 additions and 5 deletions
|
@ -208,8 +208,13 @@ Page {
|
|||
text: chat.model.formatDateSeparator(modelData.timestamp)
|
||||
color: colors.brightText
|
||||
|
||||
height: contentHeight * 1.2
|
||||
width: contentWidth * 1.2
|
||||
// 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
|
||||
|
|
|
@ -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…
Reference in a new issue