omz:forum

    • Register
    • Login
    • Search
    • Recent
    • Popular

    Welcome!

    This is the community forum for my apps Pythonista and Editorial.

    For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.


    Move tableview cell to top of cell

    Pythonista
    3
    4
    1617
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • robertiii
      robertiii last edited by

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

      mikael 1 Reply Last reply Reply Quote 0
      • robertiii
        robertiii last edited by

        Or make detail cell multiple lines of text?

        stephen 1 Reply Last reply Reply Quote 0
        • stephen
          stephen @robertiii last edited by

          @robertiii

          have you tried adjusting ui.TableView.content_size?

          1 Reply Last reply Reply Quote 0
          • mikael
            mikael @robertiii last edited by

            @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).

            1 Reply Last reply Reply Quote 1
            • First post
              Last post
            Powered by NodeBB Forums | Contributors