mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
ButtonTable: remove unused (#10926)
This commit is contained in:
@@ -57,8 +57,6 @@ function ReaderCropping:onPageCrop(mode)
|
||||
-- prepare bottom buttons so we know the size available for the page above it
|
||||
local button_table = ButtonTable:new{
|
||||
width = Screen:getWidth(),
|
||||
button_font_face = "cfont",
|
||||
button_font_size = 20,
|
||||
buttons = {{
|
||||
{
|
||||
text = _("Cancel"),
|
||||
|
||||
@@ -152,8 +152,6 @@ function TweakInfoWidget:init()
|
||||
|
||||
local button_table = ButtonTable:new{
|
||||
width = content:getSize().w,
|
||||
button_font_face = "cfont",
|
||||
button_font_size = 20,
|
||||
buttons = buttons,
|
||||
zero_sep = true,
|
||||
show_parent = self,
|
||||
|
||||
@@ -543,8 +543,6 @@ function DictQuickLookup:init()
|
||||
local buttons_width = inner_width - 2*buttons_padding
|
||||
self.button_table = ButtonTable:new{
|
||||
width = buttons_width,
|
||||
button_font_face = "cfont",
|
||||
button_font_size = 20,
|
||||
buttons = buttons,
|
||||
zero_sep = true,
|
||||
show_parent = self,
|
||||
|
||||
@@ -208,8 +208,6 @@ function ImageViewer:init()
|
||||
}
|
||||
self.button_table = ButtonTable:new{
|
||||
width = self.width - 2*self.button_padding,
|
||||
button_font_face = "cfont",
|
||||
button_font_size = 20,
|
||||
buttons = buttons,
|
||||
zero_sep = true,
|
||||
show_parent = self,
|
||||
|
||||
@@ -258,8 +258,6 @@ function InputDialog:init()
|
||||
-- Buttons Table
|
||||
self.button_table = ButtonTable:new{
|
||||
width = self.width - 2*self.button_padding,
|
||||
button_font_face = "cfont",
|
||||
button_font_size = 20,
|
||||
buttons = self.buttons,
|
||||
zero_sep = true,
|
||||
show_parent = self,
|
||||
|
||||
@@ -794,8 +794,6 @@ function Menu:init()
|
||||
},
|
||||
call_hold_input_on_tap = true,
|
||||
bordersize = 0,
|
||||
text_font_face = "cfont",
|
||||
text_font_size = 20,
|
||||
text_font_bold = false,
|
||||
}
|
||||
self.page_info = HorizontalGroup:new{
|
||||
|
||||
@@ -91,8 +91,6 @@ function MultiConfirmBox:init()
|
||||
|
||||
local button_table = ButtonTable:new{
|
||||
width = content:getSize().w,
|
||||
button_font_face = "cfont",
|
||||
button_font_size = 20,
|
||||
buttons = {
|
||||
{
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user