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. Same question: Extra blank space when using Qt::CustomizeWindowHint
Forum Updated to NodeBB v4.3 + New Features

Same question: Extra blank space when using Qt::CustomizeWindowHint

Scheduled Pinned Locked Moved Unsolved General and Desktop
3 Posts 2 Posters 279 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.
  • K Offline
    K Offline
    kleinlee
    wrote on last edited by
    #1

    Re: How to customize the Window borders when using Qt::CustomizeWindowHint

    e6965421-a3b1-4b83-9c6a-127a5a13b130-1636921302(1).png

    1 Reply Last reply
    0
    • mrjjM Offline
      mrjjM Offline
      mrjj
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi
      Did you try
      setWindowFlag(Qt::FramelessWindowHint,true);
      and see if also such "blank" ?

      also what platform ?

      K 1 Reply Last reply
      0
      • mrjjM mrjj

        Hi
        Did you try
        setWindowFlag(Qt::FramelessWindowHint,true);
        and see if also such "blank" ?

        also what platform ?

        K Offline
        K Offline
        kleinlee
        wrote on last edited by
        #3

        @mrjj said in Same question: Extra blank space when using Qt::CustomizeWindowHint:

        setWindowFlag

        Thanks. My platform is Win10. I konw Qt::FramelessWindowHint works well without blank, but lacks the native window side drag which CustomizeWindowHint remains. Although I could implement window side drag with FramelessWindowHint ,dragging operation works not so well as QT window with CustomizeWindowHint. It's annoying.
        So, my question is, is there any way to hide the titleBar and blank and remain the native window side drag?

        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