Details
-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
6.7.2
-
None
Description
Hello,
Users of my app (get-notes.com) reports that sometimes (in cases when I use Qt's Text components and not my custom editor), bullet points and other such lists are overly indented.
To reproduce:
import QtQuick Window { id: root width: 300 height: 200 visible: true title: qsTr("Hello World") Column { spacing: 10 Text { id: textMarkdown text: "List:\n- item1" textFormat: TextEdit.MarkdownText } Text { id: textHtml text: "<p>List:</p><ul><li>item1</li></ul>" textFormat: TextEdit.RichText } } }
Which results in the attached image - the indentation is far too large for some users (and myself). Am I missing something? Or are there some undocumented CSS styles that can help change the indentation size?
This issue might be a duplication of this: https://bugreports.qt.io/browse/QTBUG-1429 But 17 years later, it's still not fixed. I hope there is a solution I'm not aware of, so please let me know.
Attachments
Issue Links
- relates to
-
QTBUG-1429 margin-left attribute does not work for <ul> tags
- Closed