Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
6.8.1
-
None
Description
I am using a TextArea to present a table in the UI, where I can use mouse to select some text in the table and copy them.
While selecting text, the row above and the column before the selection become bold.
This is very annoy, I try different property of TextArea, nothing changed.
import QtQuick import QtQuick.Controls Window { width: 960 height: 640 visible: true title: qsTr("Hello World") TextArea { anchors.fill: parent textFormat: Text.RichText font.family: "Open Sans" font.pixelSize: 14 color: "#3A3A3A" readOnly: true focus: false activeFocusOnPress: true selectByMouse: true selectedTextColor: "#FFFFFF" selectionColor: "#66C800" text:"<table>" + "<thead><tr><th>header1</th><th>header2</th><th>header3</th></tr></thead>" + "<tbody><tr><td>Text 1 1</td><td>Text 1 2</td><td>Text 1 3</td></tr>" + "<tr><td>Text 2 1</td><td>Text 2 2</td><td>Text 2 3</td></tr>" + "<tr><td>Text 3 1</td><td>Text 3 2</td><td>Text 3 3</td></tr>" + "<tr><td>Text 4 1</td><td>Text 4 2</td><td>Text 4 3</td></tr>" + "<tr><td>Text 5 1</td><td>Text 5 2</td><td>Text 5 3</td></tr>" + "<tr><td>Text 6 1</td><td>Text 6 2</td><td>Text 6 3</td></tr></tbody>" + "</table>" } }