diff --git a/app/gui/SettingsView.qml b/app/gui/SettingsView.qml index ced83250..88bc6fc3 100644 --- a/app/gui/SettingsView.qml +++ b/app/gui/SettingsView.qml @@ -785,7 +785,7 @@ Flickable { ToolTip.delay: 1000 ToolTip.timeout: 5000 ToolTip.visible: hovered - ToolTip.text: qsTr("This enables mouse control without capturing the client's mouse cursor. It will not work in most games.") + "\n" + + ToolTip.text: qsTr("This enables mouse control without capturing the client's mouse cursor. It will not work in most games.") + " " + qsTr("You can toggle this while streaming using Ctrl+Alt+Shift+M.") } @@ -880,7 +880,7 @@ Flickable { ToolTip.delay: 1000 ToolTip.timeout: 5000 ToolTip.visible: hovered - ToolTip.text: qsTr("Forces a single gamepad to always stay connected to the host, even if no gamepads are actually connected to this PC.") + "\n" + + ToolTip.text: qsTr("Forces a single gamepad to always stay connected to the host, even if no gamepads are actually connected to this PC.") + " " + qsTr("Only enable this option when streaming a game that doesn't support gamepads being connected after startup.") } diff --git a/app/gui/main.qml b/app/gui/main.qml index bff99647..4a081f70 100644 --- a/app/gui/main.qml +++ b/app/gui/main.qml @@ -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