Fix tooltip line wrapping

This commit is contained in:
Cameron Gutman
2020-12-27 15:34:49 -06:00
parent c923d643b9
commit 998d3b2cc1
2 changed files with 6 additions and 2 deletions
+4
View File
@@ -19,6 +19,10 @@ ApplicationWindow {
visibility: (SystemProperties.hasWindowManager && StreamingPreferences.startWindowed) ? "Windowed" : "Maximized"
// This configures the maximum width of the singleton attached QML ToolTip. If left unconstrained,
// it will never insert a line break and just extend on forever.
ToolTip.toolTip.contentWidth: ToolTip.toolTip.implicitContentWidth < 400 ? ToolTip.toolTip.implicitContentWidth : 400
StackView {
id: stackView
initialItem: initialView