Fix chat bubble sizes and title sizes on pages.

This commit is contained in:
Julien Wadel 2023-09-19 14:20:40 +02:00
parent 085d5b6666
commit 6a492b9f05
5 changed files with 10 additions and 7 deletions

View file

@ -46,7 +46,7 @@ Item {
// ---------------------------------------------------------------------------
property string lastTextSelected
implicitHeight: (deliveryLayout.visible? deliveryLayout.height : 0) +(ephemeralTimerRow.visible? 16 : 0) + chatContent.height + reactionLoader.height-10
implicitHeight: (deliveryLayout.visible? deliveryLayout.height : 0) +(ephemeralTimerRow.visible? 16 : 0) + chatContent.height + (reactionLoader.active?reactionLoader.height-10 : 0)
Rectangle {
id: rectangle
property int availableWidth: parent.width
@ -56,7 +56,7 @@ Item {
anchors.left: !$chatEntry.isOutgoing ? parent.left : undefined
anchors.right: $chatEntry.isOutgoing ? parent.right : undefined
height: parent.height - (deliveryLayout.visible? deliveryLayout.height : 0) - (reactionLoader.height-10)
height: parent.height - (deliveryLayout.visible? deliveryLayout.height : 0) - (reactionLoader.active ? reactionLoader.height-10 : 0)
radius: ChatStyle.entry.message.radius
clip: false
color: colorModel.color

View file

@ -39,8 +39,9 @@ ColumnLayout{
color: CallTimelineStyle.colorModel.color
font.pointSize: CallTimelineStyle.pointSize
font.weight: Font.Bold
font.capitalization: Font.Capitalize
//: 'Call list' : Call histories title
text: qsTr('callListTitle')
text: qsTr('callListTitle').toLowerCase()
verticalAlignment: Text.AlignVCenter
}

View file

@ -70,8 +70,9 @@ Rectangle {
color: TimelineStyle.legend.colorModel.color
font.pointSize: TimelineStyle.legend.pointSize
font.weight: Font.Bold
font.capitalization: Font.Capitalize
//: 'Messages' : Title for conversations
text: qsTr('chatsTitle')
text: qsTr('chatsTitle').toLowerCase()
verticalAlignment: Text.AlignVCenter
}

View file

@ -40,9 +40,10 @@ Item{
font {
bold: true
pointSize: ConferencesStyle.bar.text.pointSize
capitalization: Font.Capitalize
}
//: 'Meetings' : Conference list title.
text: qsTr('conferencesTitle')
text: qsTr('conferencesTitle').toLowerCase()
}
TextButtonB {
anchors.verticalCenter: parent.verticalCenter

View file

@ -52,9 +52,9 @@ ColumnLayout {
font.capitalization: Font.Capitalize
text: LdapListModel.count > 0
//: 'Local contacts' : Contacts section label in main window when we have to specify that they are local to the application.
? qsTr('localContactsEntry')
? qsTr('localContactsEntry').toLowerCase()
//: 'Contacts' : Contacts section label in main waindow.
: qsTr('contactsEntry')
: qsTr('contactsEntry').toLowerCase()
verticalAlignment: Text.AlignVCenter
}