Add titles to modal dialogs, move z-order debug display to bottom of window

This commit is contained in:
Brad Davis 2016-01-28 21:18:14 -08:00
parent afd3ddf534
commit 35211b7475
2 changed files with 12 additions and 1 deletions

View file

@ -25,7 +25,7 @@ Item {
id: debugZ
visible: DebugQML
text: window ? "Z: " + window.z : ""
y: -height
y: window.height + 4
}
function deltaSize(dx, dy) {

View file

@ -13,5 +13,16 @@ Frame {
color: "#7f7f7f7f";
radius: 3;
}
Text {
y: -implicitHeight - iconSize / 2
text: window.title
elide: Text.ElideRight
font.bold: true
color: window.focus ? "white" : "gray"
style: Text.Outline;
styleColor: "black"
}
}