[Bug 162033] KMessageBox is not large enough thus displaying scrollbars

Gaël de Chalendar (aka Kleag) kleag at free.fr
Tue May 13 15:33:44 CEST 2008


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=162033         




------- Additional Comments From kleag free fr  2008-05-13 15:33 -------
Created an attachment (id=24750)
 --> (http://bugs.kde.org/attachment.cgi?id=24750&action=view)
screenshot with the faulty dialog

Here is the code producing this screenshot
      KMessageBox::information(
	  game(),
	  i18n("%1, your goal will be displayed. Please make sure that no other
player can see it !",(*it)->name()),
	  i18n("KsirK - Displaying Goal"));

Placing the text on one line would be larger than 1/4 of the screen, but here,
it is splitted in a few line while putting the scrollbar.

Note that if I put a "<br>" between the words "Please" and "make", there is no
more a scrollbar, but the text is anyway displayed on 4 lines instead of 2.


More information about the Kdelibs-bugs mailing list