From 47c2803d78591bb3b8e502dd462f1d5a625a824d Mon Sep 17 00:00:00 2001 From: corvid Date: Thu, 19 Nov 2015 21:16:43 +0000 Subject: readable location text --- src/ui.cc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/ui.cc') diff --git a/src/ui.cc b/src/ui.cc index a5785576..34dbcdd2 100644 --- a/src/ui.cc +++ b/src/ui.cc @@ -13,6 +13,7 @@ #include #include +#include /* rint */ #include "keys.hh" #include "ui.hh" @@ -462,6 +463,7 @@ void UI::make_location(int ww) i->when(FL_WHEN_ENTER_KEY); i->callback(location_cb, this); i->set_tooltip("Location"); + i->textsize((int) rint(14.0 * prefs.font_factor)); p_xpos += i->w(); LocationGroup->box(FL_THIN_UP_BOX); // or FL_FLAT_BOX LocationGroup->end(); -- cgit v1.2.3