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

List:       kde-devel
Subject:    Re: Problem with text formatting in dialogs
From:       Nicolas Goutte <nicog () snafu ! de>
Date:       2002-06-08 22:47:05
[Download RAW message or body]

If I have understood well the code in kdelibs/kdeui/kmessagebox.cpp, any text 
not starting by the character '<' is considered to be plain text (needed for 
automatic wraping.)

I suppose that you should try something like:
"<qt>Are you sure ... folder <b>%1</b>?</qt>"

I am not a specialist and I have not tested, so it might not be the solution.

Have a nice day/evening/night!

On Saturday 08 June 2002 23:11, Aurélien Gâteau wrote:
> Hi !
>
> I'm in the process of porting my application to KDE3 and I encounter a
> problem which looks simple to solve, but I can't find the way to
> nevertheless.
>
> If I use something like this :
>
> int response=KMessageBox::questionYesNo(
> 	this,
> 	i18n("Are you sure you want to delete the folder <b>%1</b> ?"
> 	).arg(dirName)
> 	);
>
> The name of the folder does not appear in bold, I can see the <b> and
> </b> instead... any idea to fix this ?
>
> Regards,
>    Aurélien
>
> >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to
> >> unsubscribe <<

 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread] 

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