Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Update: Forum Guidelines & Code of Conduct


    Qt World Summit: Early-Bird Tickets

    Unsolved QProgressDialog does not show as correct size in iOS

    Mobile and Embedded
    1
    1
    54
    Loading More Posts
    • 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.
    • C
      CellCS last edited by CellCS

      QQmlEngine::setObjectOwnership(quit_loop, QQmlEngine::CppOwnership);
      QProgressDialog progress(("Loading Data------------"), QString(), 0, 100);
      
      ......(signals)
      
      progress.setRange(0,0);
      
      int progressCode = progress.exec();
      

      In Android, works fine and progress dialog show default size, and resize() functions works. But in iOS, show in the whole screen, and resize() does not work. But when using progress.size(), get QSize(220, 64).

      how could show progressbar Dialog correctly. Thanks
      Simulator Screen Shot - iPad Pro (12.9-inch) (4th generation) - 2020-07-21 at 11.53.45.png

      The same issue was identified six years ago.

      https://interest.qt-project.narkive.com/HxDPUkX5/qwidget-resize-on-ios

      1 Reply Last reply Reply Quote 0
      • First post
        Last post