Commit 9faef3bc authored by Claudio Cambra's avatar Claudio Cambra
Browse files

Fixed tasks' tags getting compressed to nothing in the tasks view when the...


Fixed tasks' tags getting compressed to nothing in the tasks view when the task summary is very long

Signed-off-by: Claudio Cambra's avatarClaudio Cambra <claudio.cambra@gmail.com>
parent 163806cd
Pipeline #212104 passed with stage
in 2 minutes and 14 seconds
......@@ -269,6 +269,7 @@ TreeListView {
Flow {
id: tagFlow
Layout.fillWidth: true
Layout.minimumWidth: tagsRepeater.count > 0 ? Math.min(tagsRepeater.itemAt(0).implicitWidth, Kirigami.Units.gridUnit * 6) : -1
Layout.row: root.width < Kirigami.Units.gridUnit * 28 && (recurIcon.visible || dateLabel.visible || priorityLayout.visible) ? 1 : 0
Layout.column: 2
Layout.rowSpan: root.width < Kirigami.Units.gridUnit * 28 ? 1 : 2
......@@ -283,7 +284,7 @@ TreeListView {
model: todoCategories // From todoModel
Tag {
implicitWidth: itemLayout.implicitWidth > tagFlow.width ? tagFlow.width : itemLayout.implicitWidth
width: implicitWidth > tagFlow.width ? tagFlow.width : implicitWidth
text: modelData
showAction: false
}
......
Supports Markdown
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