1
mirror of https://github.com/monero-project/monero-gui synced 2024-12-27 00:53:43 +01:00
monero-gui/components/TextBlock.qml

17 lines
335 B
QML
Raw Normal View History

2017-08-24 11:27:00 +02:00
import QtQuick 2.0
2017-12-07 17:33:46 +01:00
import "." 1.0
2017-08-24 11:27:00 +02:00
TextEdit {
2017-12-07 17:33:46 +01:00
color: Style.defaultFontColor
font.family: Style.fontRegular.name
2017-08-24 11:27:00 +02:00
wrapMode: Text.Wrap
readOnly: true
selectByMouse: true
2017-12-08 22:28:12 +01:00
// Workaround for https://bugreports.qt.io/browse/QTBUG-50587
onFocusChanged: {
if(focus === false)
deselect()
}
2017-08-24 11:27:00 +02:00
}