On 2025-10-13 09:00, Heiko Tietze wrote:
Text wrapping depends on the OS/DE, AFAIK. There was an issue on Qt- based systems that has been fixed for 25.2, see https:// bugs.documentfoundation.org/show_bug.cgi?id=162297 (and it works nicely with your strings)If you want to force a line break, \n comes in handy. But I suggest to not mess with the OS/DE algorithms.
At least for Windows and the gen VCL plugin on Linux, this uses the LO-internal logic in HelpTextWindow::SetHelpText.
From what I can see, the help text for the Sort dialog case Regina mentions has 146 characters, while HELPTEXTMAXLEN used in there is currently 150, i.e. the current implementation considers that "short enough" to fit into one line.
If that's considered too long, that would probably be the place to adjust, e.g. it wraps when I set HELPTEXTMAXLEN to 140 locally for a quick test with the gen VCL plugin.
OpenPGP_signature.asc
Description: OpenPGP digital signature
