| 1 |
import QtQuick 2.4 |
| 2 |
import FlightGear 1.0 |
| 3 |
|
| 4 |
Rectangle { |
| 5 |
id: headerRect |
| 6 |
implicitHeight: headerTitle.height + (Style.margin * 2) |
| 7 |
|
| 8 |
property alias title: headerTitle.text |
| 9 |
|
| 10 |
color: Style.themeColor |
| 11 |
border.width: 1 |
| 12 |
border.color: Style.frameColor |
| 13 |
|
| 14 |
Text { |
| 15 |
id: headerTitle |
| 16 |
color: Style.themeContrastTextColor |
| 17 |
anchors.verticalCenter: parent.verticalCenter |
| 18 |
font.bold: true |
| 19 |
font.pixelSize: Style.subHeadingFontPixelSize |
| 20 |
anchors.left: parent.left |
| 21 |
anchors.leftMargin: Style.inset |
| 22 |
} |
| 23 |
} |