mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 10:47:11 +02:00
Add titles to modal dialogs, move z-order debug display to bottom of window
This commit is contained in:
parent
afd3ddf534
commit
35211b7475
2 changed files with 12 additions and 1 deletions
|
@ -25,7 +25,7 @@ Item {
|
||||||
id: debugZ
|
id: debugZ
|
||||||
visible: DebugQML
|
visible: DebugQML
|
||||||
text: window ? "Z: " + window.z : ""
|
text: window ? "Z: " + window.z : ""
|
||||||
y: -height
|
y: window.height + 4
|
||||||
}
|
}
|
||||||
|
|
||||||
function deltaSize(dx, dy) {
|
function deltaSize(dx, dy) {
|
||||||
|
|
|
@ -13,5 +13,16 @@ Frame {
|
||||||
color: "#7f7f7f7f";
|
color: "#7f7f7f7f";
|
||||||
radius: 3;
|
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"
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue