mirror of
https://github.com/brmlab/brmbar.git
synced 2025-06-08 13:24:01 +02:00
37 lines
900 B
QML
37 lines
900 B
QML
import QtQuick 1.1
|
|
|
|
Item {
|
|
id: main_hint
|
|
width: 1150
|
|
height: 80
|
|
|
|
property string hint_goal: ""
|
|
property string hint_action: ""
|
|
|
|
Text {
|
|
id: text1
|
|
x: 0
|
|
y: 0
|
|
color: "#ffffff"
|
|
text: parent.hint_goal
|
|
anchors.bottom: parent.bottom
|
|
anchors.bottomMargin: 0
|
|
anchors.top: parent.top
|
|
anchors.topMargin: 0
|
|
font.pixelSize: 0.768 * 60
|
|
}
|
|
|
|
Text {
|
|
id: text2
|
|
x: 11
|
|
color: "#40ff5d";
|
|
text: parent.hint_action;
|
|
anchors.bottom: parent.bottom
|
|
anchors.bottomMargin: 0
|
|
anchors.top: parent.top
|
|
anchors.topMargin: 0
|
|
anchors.right: parent.right
|
|
anchors.rightMargin: 0
|
|
transformOrigin: Item.Center; smooth: true; font.bold: false; wrapMode: Text.NoWrap; font.pixelSize: 0.768 * 60;horizontalAlignment: Text.AlignHCenter
|
|
}
|
|
}
|