Skip to content

armgit / krita

Public Imported from GitHub
0

Krita is a free and open source cross-platform application that offers an end-to-end solution for creating digital art files from scratch built on the KDE and Qt frameworks.

C++

Fix unstyled tooltip in OpenTypeFeatureSettings.qml

Wolthera van Hövell tot Westerflierc29e6a565081
diff --git a/plugins/dockers/textproperties/qml/OpenTypeFeatureSettings.qml b/plugins/dockers/textproperties/qml/OpenTypeFeatureSettings.qml
index 8b096c9504..404b998bc5 100644
--- a/plugins/dockers/textproperties/qml/OpenTypeFeatureSettings.qml
+++ b/plugins/dockers/textproperties/qml/OpenTypeFeatureSettings.qml
@@ -7,6 +7,7 @@ import QtQuick 2.15
import QtQuick.Controls 2.15
import QtQuick.Layouts 1.12
import org.krita.flake.text 1.0
+import org.krita.components 1.0 as Kis
TextPropertyBase {
id: root;
@@ -139,9 +140,10 @@ TextPropertyBase {
enableMouseEvents: false;
}
- ToolTip.text: activeFeatureDelegate.toolTip;
- ToolTip.visible: activeFeatureControl.hovered;
- ToolTip.delay: Qt.styleHints.mousePressAndHoldInterval;
+ Kis.ToolTipBase {
+ text: activeFeatureDelegate.toolTip;
+ visible: activeFeatureControl.hovered;
+ }
delegate: OpenTypeFeatureDelegate {
width: ListView.view.width;