Hello,

I'm using Qt 6.6.3.

I'm trying to customize menu.

I've created the following component:

Menu
{
    background: Rectangle {
        color: "green"
    }
}

Now my menu just does not show up. I believe it's because its size is (0,0)
now.

Where am I wrong? In Qt docs it's stated, that background follows its
parent's size.
_______________________________________________
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest

Reply via email to