WPF Flowdocument - 无法左对齐 ListItem 标记
我有一个 WPF FlowDocument,其中包含 MarkerType 'Upper Latin' 列表。它看起来像这样:
请注意,列表项对齐在标记后面的句点上,但由于文本是宽度可变,D、E 和 F 看起来很傻。我宁愿让列表标记左对齐而不是右对齐,但我不知道该怎么做。 List 或 ListItem 上的 TextAlignment 没有区别。
I've got a WPF FlowDocument with a list of MarkerType 'Upper Latin'. It's looking like this:
Notice that the list item alignment is on the periods after the marker, but since the text is variable width, the D, E, and F look silly. I would rather have the list markers be left aligned than right aligned, but I can't figure out how to do it. TextAlignment on the List or ListItem makes no difference.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我最终只使用了表格布局......有点笨重,但它有效
I ended up just using a table layout....Kinda clunky but it works