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 warning in text property base with regards to looped biding of height.
Wolthera van Hövell tot Westerflierbea9c677b238
diff --git a/plugins/dockers/textproperties/qml/TextPropertyBase.qml b/plugins/dockers/textproperties/qml/TextPropertyBase.qmlindex affd89ebd6..2f71ca895d 100644--- a/plugins/dockers/textproperties/qml/TextPropertyBase.qml+++ b/plugins/dockers/textproperties/qml/TextPropertyBase.qml@@ -12,8 +12,8 @@ Column {property int firstColumnWidth: 32;property int columnSpacing: 5;padding: columnSpacing;- width: parent && parent !== undefined? parent.width - (padding*2): 100;- height: visible? childrenRect.height: 0;+ width: parent && typeof parent !== 'undefined'? parent.width - (padding * 2): 100;+ height: visible? implicitHeight: 0;property KoSvgTextPropertiesModel properties : textPropertiesModel;property int defaultVisibilityState : TextPropertyConfigModel.FollowDefault;@@ -69,6 +69,5 @@ Column {id: seperator;width: parent.width;topPadding: parent.padding;- bottomPadding:parent.padding;}}