FloatLabelRow icon indicating copy to clipboard operation
FloatLabelRow copied to clipboard

Text overlapping with row value in Swift 4.2/ iOS 12.1

Open sauravexodus opened this issue 6 years ago • 3 comments

Text overlapping with row value in Swift 4.2/ iOS 12.1

Environment

Eureka: 4.3.1 Xcode: 10.1 iOS: 12.1

Code

lazy var emailRow: EmailFloatLabelRow = {
        let row = EmailFloatLabelRow("Email")
            .cellSetup { cell, row in
                row.title = row.tag
                cell.textField.becomeFirstResponder()
            }
            .cellUpdate { cell, _ in
                cell.textLabel?.textColor = .grayDarkest
            }
        return row
    }()

Screenshot

eureka

Any idea why this is happening?

sauravexodus avatar Jan 22 '19 07:01 sauravexodus

Changing the height of the cell in _FloatLabelCell class to 65 fixed the padding issues. Unfortunately this (obviously) leads to a bigger row

zunjae avatar Jan 25 '19 10:01 zunjae

I had the library files copied into my project so I just changed the constraints assignment and fixed it.

sauravexodus avatar Jan 28 '19 10:01 sauravexodus

Could you tell me what changes you made @sauravexodus

zunjae avatar Jan 28 '19 10:01 zunjae