Fix buttonbar and line padding in time&date screen.
commit5c509d17db86e889560e7d938b5a7acf083948e2
authorThomas Martitz <kugel@rockbox.org>
Sat, 22 Oct 2011 10:09:23 +0000 (22 10:09 +0000)
committerThomas Martitz <kugel@rockbox.org>
Sat, 22 Oct 2011 10:09:23 +0000 (22 10:09 +0000)
treeaf7cfcd615d2b48cda55ffecf975a384ed3e5610
parent09d0b6fec4988677b3bb4f73a13dd4fa961c3f5a
Fix buttonbar and line padding in time&date screen.

The time&date screen uses a custom parent for do_menu(), and doesn't
account for the buttonbar and list line height. Introduce
gui_synclist_set_viewport_defaults() to set those for viewports that are
going to be list parents and use that so that time&date screen doesn't need
to know about buttonbar/line padding.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30824 a1c6a512-1295-4272-9138-f99709370657
apps/gui/list.c
apps/gui/list.h
apps/menus/time_menu.c