With the fixes done to PrivateActionToolBar it now behaves a lot nicer
and we should try to make sure all other places that use a similar
button style use the same component.
Details
Details
- Reviewers
mart - Group Reviewers
Kirigami - Commits
- R169:57266693f2fc: Replace the custom overflow button with PrivateActionToolButton in ActionToolBar
Start Kirigami Gallery, go to the Cards Layout page, the overflow buttons there
should now properly open and close the menus and not get stuck in a checked
state.
Diff Detail
Diff Detail
- Repository
- R169 Kirigami
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
src/controls/ActionToolBar.qml | ||
---|---|---|
181 | Ah, I didn't know about concat(). I actually looked for something like that but seem to have missed it. |
src/controls/ActionToolBar.qml | ||
---|---|---|
181 | Of course, things weren't as simple as that since root.actions and hiddenActions are list properties not normal JS arrays. But I found a solution. |