Unsolved Transparent QML Menu
-
I'm wondering if its possible to have a transparent QML menu? I tried doing it, but the background ends up white and not transparent.
My goal is to create a menu like the following (notice the rounded borders and arrow):
Is this possible with QML?
-
use the style or background component to set the color of the menu
Menu{ background: Rechtangle{ color: "transparent" } }
if you want an arrow to be on top of the menu, I suggest you build it on your own.
-
@dauuser said in Transparent QML Menu:
use the style or background component to set the color of the menu
Menu{
background: Rechtangle{
color: "transparent"
}
}if you want an arrow to be on top of the menu, I suggest you build it on your own.
As described in my original post this makes the background white, not transparent (see image below).
Using transparency with a window has the same issue, but there is a separate solution for that.