widgets/textbox: fix set_line_length