2
0
mirror of https://github.com/koreader/koreader synced 2024-10-31 21:20:20 +00:00
koreader/frontend
chrox 1c728d6945 fix widget out-of-bound in bookmark and toc menus
The original menu layout needs manual dimension calculations
such as  white padding for displaying page information in
footer as the title, all item contents and footer are stacked
in one VerticalGroup. Out-of-bound error(koreader/koreader-base#43)
will occur in some corner cases if we missed something in
the calculation. The patch sent in this PR invented a new
layout for menu widget in which no manual calculation is needed
for displaying the footer. And the footer will be placed well
inside the menu frame.

   +--------------+
   | +----------+ |
   | |+--------+| |
   | || Header || |
   | |+--------+| |
   | |+--------+| |
   | ||  Item  || |
   | ||  Item  || |
   | |+--------+| |
   | |(Vertical | |
   | |  Group)  | |
   | +----------+ |
   |    Footer    |
   |(OverlapGroup)|
   +--------------+
2013-09-01 16:36:45 +08:00
..
apps/filemanager add hidden file toggle 2013-08-25 00:00:06 -04:00
document only set two pages mode for crengine in kindle dxg 2013-07-28 02:35:46 -04:00
ui fix widget out-of-bound in bookmark and toc menus 2013-09-01 16:36:45 +08:00
cache.lua move defaults.lua to root directory 2013-07-01 02:55:28 -04:00
dbg.lua add LvDEBUG 2013-03-15 05:01:34 -04:00
gettext.lua add gettext lua module 2013-04-07 16:09:33 +08:00
JSON.lua add json parser library from http://regex.info/blog/ (Public domain license) 2013-04-24 22:55:02 +08:00
math.lua use eight anchor points to adjust bbox 2013-02-21 13:16:47 +08:00
settings.lua Fix bug #119. 2013-07-09 12:39:43 +02:00