简体   繁体   中英

Eureka TextRow layout problems

I'm trying to configure a TextRow to have:

  • subtitle cellStyle
  • multiline text label

Sample:

 let textRow = TextRow() {
      $0.tag = "TextRow"
      $0.cellStyle = .subtitle
      $0.title = "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,"
      $0.cell.textLabel?.numberOfLines = 0
    }

But, as you can see, the layout is not correct; any help? Thanks

布局问题

Sample source code here

The problem seems fixed now after this pull request

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM