Avoid hardcoded font size

This commit is contained in:
kamathmanu 2020-10-14 18:07:09 -04:00
parent a0c2a174ea
commit e3c6656613

View file

@ -61,10 +61,10 @@ Item {
verticalAlignment: Text.AlignVCenter verticalAlignment: Text.AlignVCenter
// See this MSC: https://github.com/matrix-org/matrix-doc/pull/2530 // See this MSC: https://github.com/matrix-org/matrix-doc/pull/2530
text: model.data.filename ? model.data.filename : model.data.body text: model.data.filename ? model.data.filename : model.data.body
font.pointSize: 11
color: "white" color: "white"
} }
} }
} }
} }
} }