mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
Fix some widget title height and close button alignment (#3366)
This commit is contained in:
@@ -238,6 +238,7 @@ end
|
||||
function FrontLightWidget:update()
|
||||
-- header
|
||||
self.light_title = FrameContainer:new{
|
||||
padding = Size.padding.default,
|
||||
margin = Size.margin.title,
|
||||
bordersize = 0,
|
||||
TextWidget:new{
|
||||
@@ -266,7 +267,7 @@ function FrontLightWidget:update()
|
||||
h = self.light_title:getSize().h
|
||||
},
|
||||
self.light_title,
|
||||
CloseButton:new{ window = self, },
|
||||
CloseButton:new{ window = self, padding_top = Size.margin.title, },
|
||||
}
|
||||
self.light_frame = FrameContainer:new{
|
||||
radius = Size.radius.window,
|
||||
|
||||
Reference in New Issue
Block a user