Results 1 to 2 of 2

Thread: how to show dynamic size of text on QMessageBox without scroll bars

  1. #1
    Join Date
    Jan 2013
    Location
    Bangalore
    Posts
    49
    Thanks
    4
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default how to show dynamic size of text on QMessageBox without scroll bars

    Hi,

    I need to show dynamic size of text on a message box without scroll bars coming into picture.

    1. initially I have to show some short message (Error occurred...) on QMessageBox, with show more details and Cancel buttons.
    2. once user press "show more details" button comes with a QMessageBox then, I have to show detailed text (size is dynamic) on the detailed area of message box.

    so, now how I have to adjust the area of the Text edit which shows complete text, so that with out having scroll bars in it (I have to adjust the size of text edit or adjust the size of text so that complete text is visible in text edit without showing scrollbars).

    Thanks in Advance.
    Last edited by DURGAPRASAD NEELAM; 19th November 2014 at 11:18.

  2. #2
    Join Date
    May 2012
    Posts
    136
    Thanks
    2
    Thanked 27 Times in 24 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: how to show dynamic size of text on QMessageBox without scroll bars


Similar Threads

  1. change text size and window size - qmessagebox
    By smemamian in forum Newbie
    Replies: 3
    Last Post: 4th July 2013, 07:38
  2. Dynamic Text Editor size in tab widget?
    By samercier in forum Qt Programming
    Replies: 1
    Last Post: 9th June 2012, 07:36
  3. Scroll bars in scroll area not comming
    By aurora in forum Qt Programming
    Replies: 3
    Last Post: 27th December 2011, 19:56
  4. QScrollArea scroll bars wrong size
    By koan in forum Qt Programming
    Replies: 4
    Last Post: 26th November 2010, 14:10
  5. Replies: 0
    Last Post: 26th October 2010, 17:59

Tags for this Thread

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.