From kde-devel Sat Jun 08 22:47:05 2002 From: Nicolas Goutte Date: Sat, 08 Jun 2002 22:47:05 +0000 To: kde-devel Subject: Re: Problem with text formatting in dialogs X-MARC-Message: https://marc.info/?l=kde-devel&m=102357670005417 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: "Are you sure ... folder %1?" 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 %1 ?" > ).arg(dirName) > ); > > The name of the folder does not appear in bold, I can see the and > 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 <<