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

List:       kde-core-devel
Subject:    Re: Word-wrap in message boxes.
From:       Waldo Bastian <bastian () kde ! org>
Date:       2002-01-15 0:46:28
[Download RAW message or body]

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 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.
>
> 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
-- 
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