qtquick: titlebar's height is reduced to 0 when invisible
otherwise we see an empty space when it's not visible
This commit is contained in:
@@ -19,7 +19,7 @@ KDDW.TitleBarBase {
|
||||
color: "black"
|
||||
border.color: "orange"
|
||||
border.width: 2
|
||||
height: 50
|
||||
height: visible ? 50 : 0
|
||||
|
||||
Text {
|
||||
color: "orange"
|
||||
|
||||
@@ -25,7 +25,7 @@ TitleBarBase {
|
||||
readonly property QtObject closeButton: closeButton
|
||||
|
||||
color: "#eff0f1"
|
||||
height: 30
|
||||
height: visible ? 30 : 0
|
||||
|
||||
Text {
|
||||
id: title
|
||||
|
||||
Reference in New Issue
Block a user