bugfix: update width of dict window in readerdictionary

pull/164/head
chrox 11 years ago
parent 725bef08e6
commit 8f051b4c44

@ -38,6 +38,7 @@ function ReaderDictionary:showDict(results)
dialog = self.dialog,
results = results,
dictionary = self.default_dictionary,
width = Screen:getWidth() - scaleByDPI(120),
})
end
end

@ -13,7 +13,7 @@ DictQuickLookup = InputContainer:new{
title_face = Font:getFace("tfont", 20),
word_face = Font:getFace("tfont", 18),
content_face = Font:getFace("cfont", 18),
width = Screen:getWidth() - scaleByDPI(100),
width = nil,
title_padding = scaleByDPI(5),
title_margin = scaleByDPI(2),
@ -126,8 +126,8 @@ function DictQuickLookup:update()
}
self.dict_frame = FrameContainer:new{
radius = scaleByDPI(8),
bordersize = scaleByDPI(3),
radius = 8,
bordersize = 3,
padding = 0,
margin = 0,
background = 0,

Loading…
Cancel
Save