tweak chat components
This commit is contained in:
parent
49bc9255ad
commit
b10aa645e0
@ -34,7 +34,7 @@ Column {
|
||||
|
||||
anchors.horizontalCenter: parent ? parent.horizontalCenter : undefined
|
||||
color: palette.brightText
|
||||
height: Math.round(fontMetrics.height * 1.4)
|
||||
height: Math.round(fontMetrics.height * 2)
|
||||
horizontalAlignment: Text.AlignHCenter
|
||||
text: room ? room.formatDateSeparator(timestamp) : ""
|
||||
verticalAlignment: Text.AlignVCenter
|
||||
|
@ -18,16 +18,6 @@ Button {
|
||||
|
||||
property string iconImage: ""
|
||||
|
||||
MultiEffect {
|
||||
anchors.fill: control.background
|
||||
shadowHorizontalOffset: 3
|
||||
shadowVerticalOffset: 3
|
||||
shadowBlur: 8
|
||||
shadowEnabled: true
|
||||
shadowColor: "#80000000"
|
||||
source: control.background
|
||||
}
|
||||
|
||||
contentItem: RowLayout {
|
||||
spacing: 0
|
||||
anchors.centerIn: parent
|
||||
|
@ -32,8 +32,8 @@ Control {
|
||||
|
||||
color: palette.base
|
||||
radius: 22
|
||||
Layout.preferredHeight: 44
|
||||
Layout.preferredWidth: 44
|
||||
Layout.preferredHeight: 36
|
||||
Layout.preferredWidth: 36
|
||||
|
||||
Image {
|
||||
id: img
|
||||
|
@ -9,7 +9,7 @@ Label {
|
||||
property bool isStateEvent
|
||||
color: palette.brightText
|
||||
horizontalAlignment: Text.AlignHCenter
|
||||
height: Math.round(fontMetrics.height * 1.4)
|
||||
height: contentHeight * 1.2
|
||||
width: contentWidth * 1.2
|
||||
|
||||
background: Rectangle {
|
||||
|
Loading…
Reference in New Issue
Block a user