Merge pull request #7265 from Lawrence37/info-font-size
Quick info font size
This commit is contained in:
commit
fa4d0e1f24
@ -155,7 +155,7 @@ void ImageArea::setInfoText (Glib::ustring text)
|
|||||||
|
|
||||||
// update font
|
// update font
|
||||||
fontd.set_weight (Pango::WEIGHT_BOLD);
|
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
|
// Non-absolute size is defined in "Pango units" and shall be multiplied by
|
||||||
// Pango::SCALE from "pt":
|
// Pango::SCALE from "pt":
|
||||||
fontd.set_size (fontSize * Pango::SCALE);
|
fontd.set_size (fontSize * Pango::SCALE);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user