+ docstring const msg = statusMessage(params_, loader_.status());
+ if (!msg.empty()) {
+ msgFont.setSize(TINY_SIZE);
+ font_width = max(font_width,
+ theFontMetrics(msgFont).width(msg));
+ font_height += theFontMetrics(msgFont).maxAscent();
+ dim.des = theFontMetrics(msgFont).maxDescent();
+ }
+
+ dim.wid = max(50, font_width + 15);
+ dim.asc = max(50, font_height + 15);
+