Commit 5ce2162f authored by Don Gagne's avatar Don Gagne

Fix toolbar messages

parent cb05a3f5
......@@ -69,9 +69,9 @@ Item {
function showToolbarMessage(message) {
toolBarMessage.text = message
if (toolBarMessage.contentHeight > toolBarMessageCloseButton.height) {
mainToolBar.height = toolBarHeight + toolBarMessage.contentHeight + (verticalMargins * 2)
toolBarHolder.height = toolBarHeight + toolBarMessage.contentHeight + (verticalMargins * 2)
} else {
mainToolBar.height = toolBarHeight + toolBarMessageCloseButton.height + (verticalMargins * 2)
toolBarHolder.height = toolBarHeight + toolBarMessageCloseButton.height + (verticalMargins * 2)
}
toolBarMessageArea.visible = true
}
......@@ -864,7 +864,7 @@ Item {
onClicked: {
parent.visible = false
_controller.height = toolBarHeight
toolBarHolder.height = toolBarHeight
_controller.onToolBarMessageClosed()
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment