Fix(ActivityCenter): Hotfix for activity center ui issues
This commit is contained in:
parent
7fa05c655a
commit
fee883b650
|
@ -41,11 +41,9 @@ Item {
|
|||
spacing: Style.current.padding
|
||||
|
||||
StatusRollArea {
|
||||
Layout.preferredHeight: innerRow.implicitHeight
|
||||
Layout.fillWidth: true
|
||||
|
||||
content: RowLayout {
|
||||
id: innerRow
|
||||
spacing: 0
|
||||
|
||||
Repeater {
|
||||
|
@ -63,13 +61,12 @@ Item {
|
|||
StatusFlatButton {
|
||||
enabled: modelData.enabled
|
||||
visible: modelData.visible
|
||||
width: visible ? implicitWidth : 0
|
||||
text: modelData.text
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
size: StatusBaseButton.Size.Small
|
||||
highlighted: modelData.category == root.currentActivityCategory
|
||||
highlighted: modelData.category === root.currentActivityCategory
|
||||
onClicked: root.categoryTriggered(modelData.category)
|
||||
onEnabledChanged: if (!enabled && highlighted) root.categoryTriggered(ActivityCenterPopup.ActivityCategory.All)
|
||||
Layout.preferredWidth: visible ? implicitWidth : 0
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -32,8 +32,7 @@ Item {
|
|||
anchors.right: parent.right
|
||||
anchors.left: parent.left
|
||||
messageTimestamp: notification.timestamp
|
||||
previousMessageTimestamp: root.previousNotificationIndex == 0 ? "" :
|
||||
root.activityCenterStore.activityCenterList.getNotificationData(
|
||||
previousMessageTimestamp: root.activityCenterStore.activityCenterList.getNotificationData(
|
||||
previousNotificationIndex, "timestamp")
|
||||
visible: text !== ""
|
||||
}
|
||||
|
|
|
@ -52,6 +52,7 @@ ActivityNotificationBase {
|
|||
Layout.preferredWidth: root.messageDetails.sender.profileImage.assetSettings.width
|
||||
Layout.preferredHeight: profileImage.height
|
||||
Layout.alignment: Qt.AlignTop
|
||||
Layout.leftMargin: Style.current.padding
|
||||
Layout.topMargin: 2
|
||||
|
||||
StatusSmartIdenticon {
|
||||
|
|
Loading…
Reference in New Issue