Bug 385203 - Text does not span full width of the webview
Summary: Text does not span full width of the webview
Status: RESOLVED INTENTIONAL
Alias: None
Product: kmarkdownwebview
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: 0.1.0
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Friedrich W. H. Kossebau
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-09-29 14:04 UTC by Simone Gaiarin
Modified: 2017-10-01 14:27 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Word wrap and left alignment (229.84 KB, image/png)
2017-10-01 08:06 UTC, Simone Gaiarin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Simone Gaiarin 2017-09-29 14:04:01 UTC
The text seems to be wrapped at a width of 80 characters or so. Instead, it should fill the full width of the webview.

Tested in kate.
Comment 1 Friedrich W. H. Kossebau 2017-09-29 23:43:18 UTC
Thanks for the report.

The behaviour you see is intended though, with readability in mind, and defined as such in the default CSS stylesheet used. So closing this bug as WONTFIX.

But I support and share the desire for being able to customize the behaviour as personally preferred. Right now the CSS used is hard-coded, though ideally one should be able to override this. Please subscribe to https://bugs.kde.org/show_bug.cgi?id=385219 which is about that very feature.
Comment 2 Simone Gaiarin 2017-10-01 08:06:01 UTC
Ok I subscribed to the other bug.

But still for the default stylesheet I would suggest at least to center the text if you want to keep that hard limit. As it is now looks pretty ugly with all that white space on the right side (see attachment).
Comment 3 Simone Gaiarin 2017-10-01 08:06:47 UTC
Created attachment 108115 [details]
Word wrap and left alignment
Comment 4 Friedrich W. H. Kossebau 2017-10-01 14:27:08 UTC
Agreed, centering would be a good idea.

Filed as https://bugs.kde.org/show_bug.cgi?id=385263