ButtonTable: remove unused (#10926)

This commit is contained in:
hius07
2023-09-22 09:06:30 +03:00
committed by GitHub
parent 34ba2fab30
commit ed5c1cef20
7 changed files with 0 additions and 14 deletions

View File

@@ -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"),

View File

@@ -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,

View File

@@ -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,

View File

@@ -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,

View File

@@ -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,

View File

@@ -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{

View File

@@ -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 = {
{
{