Fixed: Align UL, LI list style type marker outside content
--HG-- branch : develop
This commit is contained in:
parent
6bcb153930
commit
639ce91e61
1 changed files with 7 additions and 1 deletions
|
@ -1729,8 +1729,14 @@ namespace NLGUI
|
|||
ucstring str;
|
||||
str.fromUtf8(_UL.back().getListMarkerText());
|
||||
addString (str);
|
||||
|
||||
sint32 indent = LIIndent;
|
||||
// list-style-type: outside
|
||||
if (_CurrentViewLink)
|
||||
indent -= _CurrentViewLink->getMaxUsedW();
|
||||
getParagraph()->setFirstViewIndent(indent);
|
||||
|
||||
flushString ();
|
||||
getParagraph()->setFirstViewIndent(LIIndent);
|
||||
|
||||
_UL.back().Value++;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue