Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Dialog Resize not working
Qt 6.11 is out! See what's new in the release blog

Dialog Resize not working

Scheduled Pinned Locked Moved General and Desktop
dialog
1 Posts 1 Posters 838 Views 1 Watching
  • 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.
  • ? Offline
    ? Offline
    A Former User
    wrote on last edited by
    #1

    I am resizing my dialog and then moving it to top-left of screen.
    if i do so, i am unable to resize my dialog with mouse button. but if i move my dialog using mouse then resizing works fine. my code is
    rect.setWidth(rect.width()/2);
    rect.setHeight(rect.height()/2);
    this->setGeometry(rect);
    this->move(rect.topRight())
    can anyone help??

    1 Reply Last reply
    0

    • Login

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