Quantcast
Channel: QtWebEngine
Viewing all articles
Browse latest Browse all 13965

backgroundVisible property in TextArea, bug?

$
0
0
So it seems to me that the backgroundVisible property of TextArea doesn’t work(Qt 5.1): import QtQuick 2.1 import QtQuick.Controls 1.0 Rectangle {    //property alias textDocument: myArea.textDocument    gradient: Gradient {   GradientStop { position: 0.0; color: "lightsteelblue" }   GradientStop { position: 1.0; color: "lightblue" }  }    TextArea {   id: myArea     backgroundVisible: true   anchors.fill: parent  } } I would like to see a TextArea on gradient background, but it’s not what i get(TextArea doesnt become transparent so i don’t see Rectangle behind it). Bug?

Viewing all articles
Browse latest Browse all 13965

Trending Articles