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++

Add a bit of margins to the broken preset tooltip

Dmitry Kazakove6eef910eef7
diff --git a/libs/ui/widgets/kis_paintop_presets_editor.cpp b/libs/ui/widgets/kis_paintop_presets_editor.cpp
index 517999b305..2b028099b6 100644
--- a/libs/ui/widgets/kis_paintop_presets_editor.cpp
+++ b/libs/ui/widgets/kis_paintop_presets_editor.cpp
@@ -951,9 +951,9 @@ void KisPaintOpPresetsEditor::slotUpdatePresetSettings()
isBroken = index.data(Qt::UserRole + KisAbstractResourceModel::BrokenStatus).toBool();
brokenReason =
QString(
- "<html><h3>%1</h3>"
+ "<html><body style=\"margin: 20px;\"><h3>%1</h3>"
"%2"
- "</html>")
+ "</body></html>")
.arg(i18n("Resource is broken!"),
index.data(Qt::UserRole + KisAbstractResourceModel::BrokenStatusMessage).toString());
}