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 customize the Window borders when using Qt::CustomizeWindowHint
Qt 6.11 is out! See what's new in the release blog

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

Scheduled Pinned Locked Moved Unsolved General and Desktop
1 Posts 1 Posters 545 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.
  • S Offline
    S Offline
    smokeSH
    wrote on last edited by smokeSH
    #1

    Hello,

    I'm trying to remove the default Windows titlebar from my window while still keeping the window borders. I've more or less achieved this using the flag Qt::CustomizeWindowHint. However, this changes the window borders to white lines instead of the default borders.

    How can I change/edit these boders or how am I able to keep the default Windows window borders while removing the titlebar?

    Example after setting this window flag (as you can see, these are not the default windows borders):
    alt text

    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