ryzom / ryzomcore

Ryzom Core is the open-source project related to the Ryzom game. This community repository is synchronized with the Ryzom Forge repository, based on the Core branch.
https://wiki.ryzom.dev
GNU Affero General Public License v3.0
330 stars 89 forks source link

Text truncated vertically in CViewText if too long #293

Open ryzom-pipeline opened 7 years ago

ryzom-pipeline commented 7 years ago

Original report by Cédric Ochs (Bitbucket: [Cédric OCHS](https://bitbucket.org/Cédric OCHS), ).


Just check the Ryzom EULA at the bottom. Some pixels are missing :p I consider it's not too truncated but I suspect the height is not correct :(

It occurs also when displaying the changelog.

ryzom-pipeline commented 7 years ago

Original comment by Meelis Mägi (Bitbucket: [Meelis Mägi](https://bitbucket.org/Meelis Mägi), ).


On EULA, border is covering the bottom text.

You can decrease id="eula_txt" max_h value to 320 or just add \n to uiEulaContext. Both should work ;-)

ryzom-pipeline commented 7 years ago

Original comment by Cédric Ochs (Bitbucket: [Cédric OCHS](https://bitbucket.org/Cédric OCHS), ).


Yep, but this issue also occurs for some long texts in bubble chat, so I suspect a height is wrongly determined :(

I suspect max_h is the max height of the widget not the whole text :)