1
0
Fork 0
flightgear/utils/fgqcanvas/qml/text.qml
James Turner 117404979b Migrate to a pure Quick-renderer solution, and QQ UI
This means everything is displayed via OpenGL, and there’s a basic
menu system usable.
2017-11-02 17:21:27 +00:00

18 lines
396 B
QML

import QtQuick 2.0
import FlightGear 1.0
CanvasItem {
implicitHeight: text.implicitHeight
implicitWidth: text.implicitWidth
property alias text: text.text
property alias fontPixelSize: text.font.pixelSize
property alias fontFamily: text.font.family
property alias color: text.color
Text {
id: text
font.pixelSize: 20
color: "yellow"
}
}