Skip to content

Commit 6eea7d6

Browse files
committed
Increase cases under which TabInfoBar autohides
Now if the mouse moves off the TabInfoBar, and the TabInfoBar has subtabs, it will auto-hide after delay. Pressing the Open button will allow the TabInfoBar to remain open, as long as the mouse pointer does not enter/exit the TabInfoBar (so, to get this sticky behavior, you need to move the mouse down fairly quickly).
1 parent f8a31e9 commit 6eea7d6

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

resources/view.qml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,14 @@ ApplicationWindow {
159159
onClicked: parent.state = parent.state == "opened" ? "closed" : "opened"
160160
}
161161

162+
MouseArea {
163+
anchors.fill: parent
164+
hoverEnabled: true
165+
acceptedButtons: Qt.NoButton
166+
onEntered: parent.cancelAutoClose()
167+
onExited: parent.closeAfterDelaySubtabless()
168+
}
169+
162170
}
163171

164172
Rectangle {

0 commit comments

Comments
 (0)