Skip to content

Commit

Permalink
function name
Browse files Browse the repository at this point in the history
  • Loading branch information
ragardner committed May 16, 2023
1 parent 933b032 commit 2f53c5c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tksheet/_tksheet_main_table.py
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ def __init__(self, *args, **kwargs):
if isinstance(kwargs["row_height"], int)
else self.get_lines_cell_height(int(kwargs["row_height"])),
)
self.set_font_help()
self.set_table_font_help()
self.set_header_font_help()
self.set_index_font_help()
self.data = kwargs["data_reference"]
Expand Down Expand Up @@ -3422,14 +3422,14 @@ def set_table_font(self, newfont=None, reset_row_positions=False):
self.font_fam = newfont[0]
self.font_sze = newfont[1]
self.font_wgt = newfont[2]
self.set_font_help()
self.set_table_font_help()
if reset_row_positions:
self.reset_row_positions()
self.recreate_all_selection_boxes()
else:
return self.table_font

def set_font_help(self):
def set_table_font_help(self):
self.txt_h = self.get_txt_h("|ZXjy*'^")
self.txt_w = self.get_txt_w("|")
self.half_txt_h = ceil(self.txt_h / 2)
Expand Down

0 comments on commit 2f53c5c

Please sign in to comment.