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 offset in style preset chooser in the text tool options.
Wolthera van Hövell tot Westerflier78a02fa94e8e
diff --git a/qmlmodules/components/qml/resourceDelegates/CssStylePresetDelegate.qml b/qmlmodules/components/qml/resourceDelegates/CssStylePresetDelegate.qmlindex 66e759ede9..23508b98d4 100644--- a/qmlmodules/components/qml/resourceDelegates/CssStylePresetDelegate.qml+++ b/qmlmodules/components/qml/resourceDelegates/CssStylePresetDelegate.qml@@ -47,7 +47,7 @@ ResourceDelegateBase {palette: presetDelegate.palette;text: presetDelegate.model.name;elide: Text.ElideRight;- width: (iconRow.width - (missingFamily.implicitWidth+iconRow.spacing));+ width: iconRow.width - (missingFamily.isVisible? (missingFamily.implicitWidth+iconRow.spacing) : 0);color: presetDelegate.highlighted? palette.highlightedText: palette.text;}}