Skip to content
Commit e8a99620 authored by Felix Ernst's avatar Felix Ernst 🇺🇦 Committed by Felix Ernst
Browse files

Only show arrow menu indicator when menu exists

In MenuButtonPopupMode a tool button will have an area that can be clicked
to open a menu instead of triggering the primary action of the button.
This area with an arrow indicator shows up when a menu is added. Before
this commit, when a menu is removed later, the arrow would still stay
and serve no purpose while doing so. Even worse: It can confuse users
who click on that arrow area and then nothing happens.

This commit improves this by not showing the arrow indicator area
anymore when the menu is removed.

Unfortunately, this commit is not perfect because the width of the
button stays slightly too wide after removing the menu.
parent 571dc88e
Pipeline #444418 passed with stage
in 2 minutes and 5 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment