PDA

View Full Version : Whats This box too small



bruccutler
30th March 2007, 22:55
I'm adding what's this help to some QLineEdit boxes.

The text gets truncated:

m_pUserNameEditBox->setWhatsThis(tr("What's this for the user name edit box"));
m_pPasswordEditBox->setWhatsThis(tr("The password associated with the connection"));

When I bring up the What's This by dropping the "?", all I see is "What's this for user" for the first one and "The password associated" for the second one.

Is there some magic size for What's This help?

- BRC

jacek
30th March 2007, 23:12
What happens if you don't use tr()?

bruccutler
30th March 2007, 23:14
Incidentally, ToolTips work just fine.
- BRC

jacek
30th March 2007, 23:26
Which Qt version do you use?

bruccutler
30th March 2007, 23:37
Version 4.2.2

jacek
30th March 2007, 23:52
Version 4.2.2
Changelog for Qt 4.2.3 says:
* Fixed problem with missing text in QWidget::whatsThis().
so try the newest version.