D9537: [kotextlayoutarea] Make percentage line height relative to the default height

2018-06-03 Thread Anthony Fieroni
anthonyfieroni added a comment. In D9537#270932 , @boemann wrote: > And finally the code you already wrote can be simplyfied by by not having an else but always multiplying You mean to not percentage and multiply always 1.16? REPOSITORY

D9537: [kotextlayoutarea] Make percentage line height relative to the default height

2018-06-03 Thread Camilla Boemann
boemann added a comment. no just: if (percent != 0) height *= percent/100 height *= 1.16; REPOSITORY R8 Calligra REVISION DETAIL https://phabricator.kde.org/D9537 To: anthonyfieroni, danders, mecir, boemann Cc: Calligra-Devel-list, cochise, vandenoever