[rkward-users] Dialog too small to show all elements
Thomas Friedrichsmeier
thomas.friedrichsmeier at ruhr-uni-bochum.de
Wed May 16 18:27:10 UTC 2012
Hi,
On Wednesday 16 May 2012, Birk Diedenhofen wrote:
> I have some troubles with dialog sizes.
> The following example dialog is too small to show all elements properly.
> If rk.XML.text("Lorem ipsum") is used instead of the complete sentences,
> everything looks fine.
This is a known issue. Ultimately it's an instance of this Qt bug:
https://bugreports.qt-project.org/browse/QTBUG-8740
In essence, whenever automatic word wrap occurs, Qt's layout mechanism goes
awry. Whether or not the bug becomes visible, depends on the window manager to
some degree. We already have a workaround for an even worse symptom of the
same bug, where the dialog would not show up at all, under some circumstances.
I'm afraid there is not much more we can do, except for waiting for the Qt bug
to be fixed.
As a plugin author you can work around this by making sure no automatic word
wrap occurs. E.g. by inserting adding manual line breaks ("\n\n") into the
text.
Regards
Thomas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/rkward-users/attachments/20120516/5fbe821e/attachment.sig>
More information about the Rkward-users
mailing list