mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-25 20:48:52 +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,9 +208,14 @@ Page {
|
||||||
text: chat.model.formatDateSeparator(modelData.timestamp)
|
text: chat.model.formatDateSeparator(modelData.timestamp)
|
||||||
color: colors.brightText
|
color: colors.brightText
|
||||||
|
|
||||||
height: contentHeight * 1.2
|
// height: contentHeight * 1.2
|
||||||
width: contentWidth * 1.2
|
// width: contentWidth * 1.2
|
||||||
horizontalAlignment: Text.AlignHCenter
|
leftPadding: 24
|
||||||
|
rightPadding: 24
|
||||||
|
topPadding: 8
|
||||||
|
bottomPadding: 8
|
||||||
|
|
||||||
|
horizontalAlignment: Text.AlignHCenter
|
||||||
background: Rectangle {
|
background: Rectangle {
|
||||||
radius: parent.height / 2
|
radius: parent.height / 2
|
||||||
color: colors.dark
|
color: colors.dark
|
||||||
|
|
|
@ -5,8 +5,10 @@ Label {
|
||||||
color: colors.brightText
|
color: colors.brightText
|
||||||
horizontalAlignment: Text.AlignHCenter
|
horizontalAlignment: Text.AlignHCenter
|
||||||
|
|
||||||
height: contentHeight * 1.2
|
// height: contentHeight * 1.2
|
||||||
width: contentWidth * 1.2
|
// width: contentWidth * 1.2
|
||||||
|
padding: 12
|
||||||
|
|
||||||
background: Rectangle {
|
background: Rectangle {
|
||||||
radius: parent.height / 2
|
radius: parent.height / 2
|
||||||
color: colors.dark
|
color: colors.dark
|
||||||
|
|
Loading…
Reference in a new issue