diff options
author | corvid <devnull@localhost> | 2015-11-19 21:16:43 +0000 |
---|---|---|
committer | corvid <devnull@localhost> | 2015-11-19 21:16:43 +0000 |
commit | 47c2803d78591bb3b8e502dd462f1d5a625a824d (patch) | |
tree | 61effd7971784a570a1d1a7092ff65b6dd66ab0a /src | |
parent | 3aace209f2046da5e60c98c5498aab04f2b31272 (diff) |
readable location text
Diffstat (limited to 'src')
-rw-r--r-- | src/ui.cc | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -13,6 +13,7 @@ #include <unistd.h> #include <stdio.h> +#include <math.h> /* 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(); |