mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-18 05:11:42 +00:00
Fixed: Align UL, LI list style type marker outside content
This commit is contained in:
parent
4da13aa473
commit
4cc23633fb
1 changed files with 7 additions and 1 deletions
|
@ -1729,8 +1729,14 @@ namespace NLGUI
|
||||||
ucstring str;
|
ucstring str;
|
||||||
str.fromUtf8(_UL.back().getListMarkerText());
|
str.fromUtf8(_UL.back().getListMarkerText());
|
||||||
addString (str);
|
addString (str);
|
||||||
|
|
||||||
|
sint32 indent = LIIndent;
|
||||||
|
// list-style-type: outside
|
||||||
|
if (_CurrentViewLink)
|
||||||
|
indent -= _CurrentViewLink->getMaxUsedW();
|
||||||
|
getParagraph()->setFirstViewIndent(indent);
|
||||||
|
|
||||||
flushString ();
|
flushString ();
|
||||||
getParagraph()->setFirstViewIndent(LIIndent);
|
|
||||||
|
|
||||||
_UL.back().Value++;
|
_UL.back().Value++;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue