Set font size of quick info display
Use the main font size set in preferences.
This commit is contained in:
parent
b0117b7a60
commit
5fe1520c65
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user