Set font size of quick info display

Use the main font size set in preferences.
This commit is contained in:
Lawrence Lee
2024-12-08 17:17:41 -08:00
parent b0117b7a60
commit 5fe1520c65

View File

@@ -155,7 +155,7 @@ void ImageArea::setInfoText (Glib::ustring text)
// update font
fontd.set_weight (Pango::WEIGHT_BOLD);
const int fontSize = 10; // pt
const int fontSize = options.fontSize;
// Non-absolute size is defined in "Pango units" and shall be multiplied by
// Pango::SCALE from "pt":
fontd.set_size (fontSize * Pango::SCALE);