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. How to remove Maximize button on the top right corner of the window.
Forum Updated to NodeBB v4.3 + New Features

How to remove Maximize button on the top right corner of the window.

Scheduled Pinned Locked Moved Unsolved General and Desktop
4 Posts 4 Posters 123 Views 2 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.
  • C Offline
    C Offline
    Channaveer
    wrote 27 days ago last edited by
    #1

    whenever I create new project, I'll be getting the default window with minimize, maximize and close button. how to customize those button( change size, remove ,add extra...).

    1 Reply Last reply
    0
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote 27 days ago last edited by
      #2

      Hi and welcome to devnet,

      AFAIK, you can't change the buttons size. It's the window manager of the OS you are using that is in charge of that.

      As for add/removing them: setWindowFlags with the appropriate flags.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      1
      • Z Offline
        Z Offline
        zenon
        wrote 27 days ago last edited by zenon 5 Nov 2025, 23:03
        #3

        Hello,

        On Mac may be try setWindowFlags( Qt::Sheet );

        You should perhaps tell on which OS the question occurs

        J 1 Reply Last reply 27 days ago
        0
        • Z zenon
          27 days ago

          Hello,

          On Mac may be try setWindowFlags( Qt::Sheet );

          You should perhaps tell on which OS the question occurs

          J Offline
          J Offline
          jsulm
          Lifetime Qt Champion
          wrote 27 days ago last edited by
          #4

          @zenon Rather Qt::WindowMaximizeButtonHint

          https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          0

          2/4

          11 May 2025, 19:22

          • Login

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