Eureka: How to change TextAreaRow placeholder's size?

Created on 6 Oct 2016  路  2Comments  路  Source: xmartlabs/Eureka

I want to change the font size of TextAreaRow, so I use the code below:

descRow = TextAreaRow() { row in
      row.placeholder = "Please enter something"
    }.cellSetup({ (cell, row) in
      cell.height = {151}
    }).cellUpdate({ (cell, row) in
      cell.textView.font = UIFont.pf(UIFontWeightRegular, size: 15)
    })

However, it only change the font size of the textView and leave the placeholder with the default size.

TextAreaRow question

Most helpful comment

I think that you can do it by setting up placeholderLabel cell's property from cellSetup or cellUpdate callback.

All 2 comments

I think that you can do it by setting up placeholderLabel cell's property from cellSetup or cellUpdate callback.

Thanks!

Was this page helpful?
0 / 5 - 0 ratings