Change message background on mouse hover
Details
Details
Diff Detail
Diff Detail
- Repository
- R865 Ruqola
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
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.