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

CPMT: make epub image take up full-width.

Wolthera van Hövell tot Westerflier303568d8f5cd
diff --git a/plugins/python/comics_project_management_tools/exporters/CPMT_EPUB_exporter.py b/plugins/python/comics_project_management_tools/exporters/CPMT_EPUB_exporter.py
index 492f58d258..b3738c39a1 100644
--- a/plugins/python/comics_project_management_tools/exporters/CPMT_EPUB_exporter.py
+++ b/plugins/python/comics_project_management_tools/exporters/CPMT_EPUB_exporter.py
@@ -186,6 +186,7 @@ def export(configDictionary = {}, projectURL = str(), pagesLocationList = [], pa
img = doc.createElement("img")
img.setAttribute("src", os.path.relpath(pagesList[i], str(textPath)))
+ img.setAttribute("width", "100%")
body.appendChild(img)
html.appendChild(body)