2
0
mirror of https://github.com/koreader/koreader synced 2024-11-16 06:12:56 +00:00

tweaks on dimension of dictionary window

This commit is contained in:
chrox 2014-01-18 15:37:58 +08:00
parent ce3b58538c
commit 2d6d0a92f6

View File

@ -53,7 +53,7 @@ function ReaderDictionary:showDict(results, box)
dialog = self.dialog, dialog = self.dialog,
results = results, results = results,
dictionary = self.default_dictionary, dictionary = self.default_dictionary,
width = Screen:getWidth() - Screen:scaleByDPI(120), width = Screen:getWidth() - Screen:scaleByDPI(80),
height = math.min(region.h*0.7, Screen:getHeight()*0.5), height = math.min(region.h*0.7, Screen:getHeight()*0.5),
region = region, region = region,
align = align, align = align,