Ticket #222 (closed enhancement/feature request: fixed)

Opened 5 months ago

Last modified 3 weeks ago

Menu items in gui_internal to small

Reported by: SlowRider Assigned to: cp15
Priority: trivial Milestone:
Component: gui/internal Version: svn
Keywords: Cc:

Description

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:

http://christeck.de/stuff/internalguionmaemo.png

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

Change History

08/25/08 01:18:32 changed 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);

}

12/14/08 09:54:11 changed by KaZeR

  • status changed from new to closed.
  • resolution set to fixed.

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