Opened 14 years ago

Closed 14 years ago

#222 closed enhancement/feature request (fixed)

Menu items in gui_internal to small

Reported by: SlowRider Owned by: cp15
Priority: trivial Milestone:
Component: gui/internal Version: git master
Severity: Keywords:


Due to mouse usage, no prob on my desktop machine. But on the N810 menu items often are to small for finger usage. In the screenshot linked below, layouts could use a bigger font. Additionally, the map and home buttons in the upper left corner are hard to use with the fingers:

So I wonder if both the text as well as the buttons could be enlarged.

Change History (2)

comment:1 Changed 14 years ago by SlowRider

Since r1318, use the code block of gui_internal.c to adjust the font and button sizes:

if (this->root.w > 320
this->root.h > 320) {

this->font_size=40; this->icon_s=48; this->icon_l=96; this->spacing=5; this->font=graphics_font_new(this->gra, 545, 1);

if (this->root.w > 640
this->root.h > 640) {

this->font_size=36; this->icon_s=40; this->icon_l=44; this->spacing=2; this->font=graphics_font_new(this->gra, 545, 1);


} else {

this->font_size=16; this->icon_xs=16; this->icon_s=32; this->icon_l=48; this->spacing=2; this->font=graphics_font_new(this->gra, 200, 1);


comment:2 Changed 14 years ago by KaZeR

  • Resolution set to fixed
  • Status changed from new to closed

See the icon_xs and font_size tags in navit.xml Freerunner's example are usually good values.

Note: See TracTickets for help on using tickets.