Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Changing size of MessageDialog popup
Forum Updated to NodeBB v4.3 + New Features

Changing size of MessageDialog popup

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
1 Posts 1 Posters 492 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    drmhkelley
    wrote on last edited by
    #1

    What determines the size of a QML MessageDialog popup and how do I change it?

    The default is apparently a fixed size that cannot be changed, at least not by user at time of use. Further, while the text area for detailedText does provide a vertical scrollbar when appropriate, it apparently doesn't provide a horizontal scrollbar.

    When the detail text is most appropriately viewed as fixed-width, non-wrappable text, I would like to accomplish one of the following (in priority order).

    1. set the width pro grammatically according to text width
    2. allow the user to change the width as desired
    3. provide a horizontal scrollbar

    Any pointers to info on how to accomplish this?

    Thanks in advance

    1 Reply Last reply
    1

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved