Skip to content
Advertisement

Inserting text in the MenuBar of QML

These menus by default appear on the left side. I want to place some text on the left side before the menu starts appearing.

How to push the menus to right in order to create space for the text in the menubar?

I want the following:
enter image description here

That text “AmplifyRemote” is appearing before the menu starts. How to achieve that here?

JavaScript

Advertisement

Answer

It’s possible there are prettier solutions, but it can work by adding a special Menu item to the front of your list that is disabled.

JavaScript
User contributions licensed under: CC BY-SA
3 People found this is helpful
Advertisement