From kde-core-devel Tue Jan 15 00:46:28 2002 From: Waldo Bastian Date: Tue, 15 Jan 2002 00:46:28 +0000 To: kde-core-devel Subject: Re: Word-wrap in message boxes. X-MARC-Message: https://marc.info/?l=kde-core-devel&m=101105567818649 On Monday 14 January 2002 02:23 pm, Malcolm Hunter wrote: > On Monday 14 Jan 2002 21:33, Waldo Bastian wrote: > > As of today, KMessageBox does not support word-wrap any longer. > > > > In KDE 2.2 KMessageBox didn't do word-wrap either, but some applicati= ons > > may have removed linefeeds from their messagebox texts already. They = need > > to be re-added. > > > > What's new for KDE 3.0 is that lines longer than 80 characters will b= e > > "squeezed". That means that a line like > > =09"This is a line longer than 80 chars." > > 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 > > should contain linebreaks where necassery. > > * Variable data (e.g. %1) that can be of arbitrary length (e.g. a > > filename) should be placed either on a single line or on a line which > > contains a short prefix only. > > How will we know that the text is for a KMessageBox and not a tooltip, = for > example? That's a very good question. I have no idea. Cheers, Waldo --=20 bastian@kde.org | SuSE Labs KDE Developer | bastian@suse.com