The source project of this merge request has been removed.
Word-wrap liquify mode tooltip
The tooltip was very long, and didn’t fit on the screen.
Qt doesn’t automatically word-wrap plaintext tooltips,
but wrapping them in <p>…</p>
turns them into ‘rich text’
tooltip, which adds automatic word wrapping.
(I’m not sure if this is the ‘canonical’ way of making tooltips word-wrap, but I couldn’t find a better way. Note that the reason I didn’t add the HTML tags inside the string was to avoid a string change, where all the translators would need to retranslate the string (and such wrapping markup doesn’t belong in translatable strings anyway).)
Test Plan
Go to the transform tool. Press the ‘Liquify’ button. Hover over the ‘Mode’ drop-down.
Formalities Checklist
-
I confirmed this builds. -
I confirmed Krita ran and the relevant functions work. -
I tested the relevant unit tests and can confirm they are not broken. (If not possible, don't hesitate to ask for help!) -
I made sure my commits build individually and have good descriptions as per KDE guidelines. -
I made sure my code conforms to the standards set in the HACKING file. -
I can confirm the code is licensed and attributed appropriately, and that unattributed code is mine, as per KDE Licensing Policy.