mirror of
https://github.com/lubosz/overte.git
synced 2025-04-23 23:33:48 +02:00
Don't cut off title of windows without close icons
This commit is contained in:
parent
a025fab5c8
commit
cede14fdc6
1 changed files with 3 additions and 1 deletions
|
@ -6,8 +6,10 @@ import "../controls"
|
|||
Frame {
|
||||
id: frame
|
||||
|
||||
property bool wideTopMargin: (window && (window.closable || window.title));
|
||||
|
||||
Rectangle {
|
||||
anchors { margins: -iconSize; topMargin: -iconSize * ((window && window.closable) ? 2 : 1); }
|
||||
anchors { margins: -iconSize; topMargin: -iconSize * (wideTopMargin ? 2 : 1); }
|
||||
anchors.fill: parent;
|
||||
color: "#7f7f7f7f";
|
||||
radius: 3;
|
||||
|
|
Loading…
Reference in a new issue