def fix_details(): # It takes a while before the detail headers update positions, # so delay a refresh call. TK_ROOT.update_idletasks() UI['game_details'].refresh()