mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-15 22:02:49 -06:00
RichText, RichEdit: 1.15 line spacing
git-svn-id: svn://ultimatepp.org/upp/trunk@15517 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
ecbd26e0f3
commit
eec129be23
7 changed files with 17 additions and 5 deletions
|
|
@ -94,7 +94,9 @@ String HtmlParaStyle(const RichPara::Format& f, Zoom z)
|
|||
if(!IsNull(f.paper))
|
||||
style << HtmlStyleColor(f.paper, "background-color");
|
||||
style << decode(f.linespacing, RichPara::LSP15, "line-height:150%",
|
||||
RichPara::LSP20, "line-height:200%", "");
|
||||
RichPara::LSP20, "line-height:200%",
|
||||
RichPara::LSP115, "line-height:115%",
|
||||
"");
|
||||
return style;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue