make chat selectable
This commit is contained in:
parent
7220131615
commit
8f09f08748
12
main.qml
12
main.qml
|
@ -396,7 +396,7 @@ ApplicationWindow {
|
||||||
source: "img/placeholder-profile.png"
|
source: "img/placeholder-profile.png"
|
||||||
}
|
}
|
||||||
|
|
||||||
Text {
|
TextEdit {
|
||||||
id: chatName
|
id: chatName
|
||||||
text: qsTr("Slushy Welltodo Woodborer")
|
text: qsTr("Slushy Welltodo Woodborer")
|
||||||
anchors.top: parent.top
|
anchors.top: parent.top
|
||||||
|
@ -405,9 +405,11 @@ ApplicationWindow {
|
||||||
anchors.leftMargin: 16
|
anchors.leftMargin: 16
|
||||||
font.bold: true
|
font.bold: true
|
||||||
font.pixelSize: 14
|
font.pixelSize: 14
|
||||||
|
readOnly: true
|
||||||
|
selectByMouse: true
|
||||||
}
|
}
|
||||||
|
|
||||||
Text {
|
TextEdit {
|
||||||
id: chatText
|
id: chatText
|
||||||
text: qsTr("I’m generally against putting too many rules on social interaction because it makes interaction anything but social, but technical specifics on how to get on board or participate in a team are I think generally useful, especially if they prevent maintainers from pasting the same response to every PR / issue.")
|
text: qsTr("I’m generally against putting too many rules on social interaction because it makes interaction anything but social, but technical specifics on how to get on board or participate in a team are I think generally useful, especially if they prevent maintainers from pasting the same response to every PR / issue.")
|
||||||
font.family: "Inter"
|
font.family: "Inter"
|
||||||
|
@ -419,9 +421,11 @@ ApplicationWindow {
|
||||||
anchors.top: chatName.bottom
|
anchors.top: chatName.bottom
|
||||||
anchors.topMargin: 16
|
anchors.topMargin: 16
|
||||||
font.pixelSize: 14
|
font.pixelSize: 14
|
||||||
|
readOnly: true
|
||||||
|
selectByMouse: true
|
||||||
}
|
}
|
||||||
|
|
||||||
Text {
|
TextEdit {
|
||||||
id: chatTime
|
id: chatTime
|
||||||
color: Theme.darkGrey
|
color: Theme.darkGrey
|
||||||
font.family: "Inter"
|
font.family: "Inter"
|
||||||
|
@ -431,6 +435,8 @@ ApplicationWindow {
|
||||||
anchors.right: parent.right
|
anchors.right: parent.right
|
||||||
anchors.rightMargin: 16
|
anchors.rightMargin: 16
|
||||||
font.pixelSize: 10
|
font.pixelSize: 10
|
||||||
|
readOnly: true
|
||||||
|
selectByMouse: true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue