From kde-core-devel Mon Jan 14 21:33:18 2002 From: Waldo Bastian Date: Mon, 14 Jan 2002 21:33:18 +0000 To: kde-core-devel Subject: Word-wrap in message boxes. X-MARC-Message: https://marc.info/?l=kde-core-devel&m=101104415820169 As of today, KMessageBox does not support word-wrap any longer.=20 In KDE 2.2 KMessageBox didn't do word-wrap either, but some applications = may=20 have removed linefeeds from their messagebox texts already. They need to = be=20 re-added. What's new for KDE 3.0 is that lines longer than 80 characters will be=20 "squeezed". That means that a line like=20 =09"This is a line longer than 80 chars."=20 will become something like =09"This is a line lo...an 80 chars." (This example isn't really 80 chars wide of course) Application developers and translators should be aware of two things: * The text for a messagebox should not exceed 80 characters per line and=20 should contain linebreaks where necassery. * Variable data (e.g. %1) that can be of arbitrary length (e.g. a filenam= e)=20 should be placed either on a single line or on a line which contains a sh= ort=20 prefix only. Cheers, Waldo --=20 bastian@kde.org | SuSE Labs KDE Developer | bastian@suse.com