Forum Archive

Move tableview cell to top of cell

robertiii

How do I move the text label to x=0 y=0 of the cell?

robertiii

Or make detail cell multiple lines of text?

stephen

@robertiii

have you tried adjusting ui.TableView.content_size?

mikael

@robertiii, if the existing layout options do not work for you, you can use cell.content_view as a base and use whatever labels you want. Use tableview.row_height if needed; you can even set it to -1 to have variable-height ”fit to size” rows (check @jonb’s example at the bottom of this thread).