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 make a window keep shadow all the time
Qt 6.11 is out! See what's new in the release blog

How to make a window keep shadow all the time

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

    I have a window, and I use setFixedSize() make its biggest size little smaller than the screen. When I Maximize the window, The shadow around the window disappeared. Is there any way to keep shadow around the window all the time?

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

      Hi
      Do you mean the drop shadow of the actual window ?
      It is drawn by your operating system and most of them will remove such effects when maximizing the window.
      Its outside of Qts control.

      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