mirror of
https://github.com/monero-project/monero-gui.git
synced 2024-12-24 20:49:24 +00:00
17 lines
456 B
QML
17 lines
456 B
QML
import QtQuick 2.0
|
|
|
|
import "../components" as MoneroComponents
|
|
|
|
TextEdit {
|
|
color: MoneroComponents.Style.defaultFontColor
|
|
font.family: MoneroComponents.Style.fontRegular.name
|
|
selectionColor: MoneroComponents.Style.dimmedFontColor
|
|
wrapMode: Text.Wrap
|
|
readOnly: true
|
|
selectByMouse: true
|
|
// Workaround for https://bugreports.qt.io/browse/QTBUG-50587
|
|
onFocusChanged: {
|
|
if(focus === false)
|
|
deselect()
|
|
}
|
|
}
|