Fix:gui_internal: Allows for 3 icons to be shown when searching for towns. Due to...
authorgeoghegan <geoghegan@ffa7fe5e-494d-0410-b361-a75ebd5db220>
Mon, 25 Oct 2010 20:16:54 +0000 (20:16 +0000)
committergeoghegan <geoghegan@ffa7fe5e-494d-0410-b361-a75ebd5db220>
Mon, 25 Oct 2010 20:16:54 +0000 (20:16 +0000)
git-svn-id: https://navit.svn.sourceforge.net/svnroot/navit/trunk@3622 ffa7fe5e-494d-0410-b361-a75ebd5db220

navit/navit/gui/internal/gui_internal.c

index 57585bd..244dcbf 100644 (file)
@@ -3440,7 +3440,7 @@ gui_internal_keyboard_do(struct gui_priv *this, struct widget *wkbdb, int mode)
        wkbd->spx=0;
        wkbd->spy=0;
        max_w=max_w/8;
-       max_h=max_h/6;
+       max_h=max_h/8; // Allows 3 results in the list when searching for Towns
        wkbd->p.y=max_h*2;
        if(mode>=40&&mode<56) { // Russian/Ukrainian/Belarussian layout needs more space...
                max_h=max_h*4/5;