Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Round corners on one side of ShellSurfaceItem
Forum Updated to NodeBB v4.3 + New Features

Round corners on one side of ShellSurfaceItem

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
1 Posts 1 Posters 148 Views
  • 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.
  • M Offline
    M Offline
    m83k
    wrote on last edited by
    #1

    Hi!

    I am quiet new to QML and I am kinda stuck right now. I am trying to create a desktop based on Wayland and everything works good, except the thing with rounded corners of the ShellSurfaceItem. I've tried to round the corners with a layer.effect: OpacityMask and a rounded rectangle as masking source. Well, it works, but - and I think that's obvious - everything what crosses the edges of the mask is cut away, like contextmenus. This is frustrating.

    So my question is: Is it possible to round one side (right side) of the ShellSurfaceItem without cutting away menus and how?

    Thank you for reading this and helping me out!

    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