[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Word-wrap in message boxes.
From:       Waldo Bastian <bastian () kde ! org>
Date:       2002-01-14 21:33:18
[Download RAW message or body]

As of today, KMessageBox does not support word-wrap any longer. 

In KDE 2.2 KMessageBox didn't do word-wrap either, but some applications 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 be 
"squeezed". That means that a line like 
	"This is a line longer than 80 chars." 
will become something like
	"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.

Cheers,
Waldo
-- 
bastian@kde.org  |   SuSE Labs KDE Developer  |  bastian@suse.com

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic