Change message background on mouse hover
Details
Details
Diff Detail
Diff Detail
- Repository
- R865 Ruqola
- Branch
- master
- Lint
No Linters Available - Unit
No Unit Test Coverage - Build Status
Buildable 22233 Build 22251: arc lint + arc unit
src/apps/qml/qml/messages/MessageBase.qml | ||
---|---|---|
35 | Just color: root.hovered ? RuqolaSingleton.alternateBackgroundColor : RuqolaSingleton.backgroundColor here instead of the onItemChanged handler, etc.? Seems simpler. Side note: I think FancyMessageDelegate could be a plain Item now, now that MessageBase is a Button. Or? |
Comment Actions
@kfunk the way it is now we need both colors to be set, and they should be always consistent. It was a bit worse before in this sense, now we only have some left and right margin on each message that could be moved inside the specialized delegates. Until that's not done we need both colors to be set though.