Results 1 to 6 of 6

Thread: Whats This box too small

  1. #1
    Join Date
    Jan 2007
    Posts
    91
    Thanks
    21
    Qt products
    Qt3 Qt4
    Platforms
    Windows

    Question Whats This box too small

    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

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    5,372
    Thanks
    28
    Thanked 976 Times in 912 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Whats This box too small

    What happens if you don't use tr()?

  3. #3
    Join Date
    Jan 2007
    Posts
    91
    Thanks
    21
    Qt products
    Qt3 Qt4
    Platforms
    Windows

    Default Re: Whats This box too small

    Incidentally, ToolTips work just fine.
    - BRC

  4. #4
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    5,372
    Thanks
    28
    Thanked 976 Times in 912 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Whats This box too small

    Which Qt version do you use?

  5. #5
    Join Date
    Jan 2007
    Posts
    91
    Thanks
    21
    Qt products
    Qt3 Qt4
    Platforms
    Windows

    Default Re: Whats This box too small

    Version 4.2.2

  6. #6
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    5,372
    Thanks
    28
    Thanked 976 Times in 912 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Whats This box too small

    Quote Originally Posted by bruccutler View Post
    Version 4.2.2
    Changelog for Qt 4.2.3 says:
    * Fixed problem with missing text in QWidget::whatsThis().
    so try the newest version.

  7. The following user says thank you to jacek for this useful post:

    bruccutler (31st March 2007)

Similar Threads

  1. Compiling QtCore4 and QtGUI4 as small as possible
    By pkirk25 in forum Qt Programming
    Replies: 5
    Last Post: 8th December 2006, 21:50
  2. tool bar icon size looking small???
    By darpan in forum Qt Tools
    Replies: 7
    Last Post: 31st March 2006, 16:38
  3. Plugins as small application
    By blackliteon in forum Qt Programming
    Replies: 4
    Last Post: 12th January 2006, 09:39

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.