KeyValuePage: use items font size in child TextViewer (#7782)

pull/7785/head
hius07 3 years ago committed by GitHub
parent e66d294bce
commit ecafdbfed8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -316,6 +316,7 @@ function KeyValueItem:onHold()
local textviewer = TextViewer:new{
title = self.key,
text = self.value,
text_face = Font:getFace("x_smallinfofont", self.font_size),
lang = self.value_lang,
width = self.textviewer_width,
height = self.textviewer_height,

Loading…
Cancel
Save