blob: f05e9d0da604503df93db356485f6abc2f05cc70 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
import QtQuick 2.0
Rectangle {
property string text
width: parent.width
height: t.height + 10
radius: 10
gradient: Gradient {
GradientStop { position: 0.0; color: "lightgray" }
GradientStop { position: 1.0; color: "gray" }
}
Text {
id: t
y: 5
x: 5
width: parent.width - 10
text: '<b>Did you mean "' + parent.text + '"?</b>';
font.pixelSize: 16
}
}
|