Skip to content

Can't properly customize messageInputBar.inputTextView according to given design #1848

@gerchicov-vg

Description

@gerchicov-vg

I need to have an inputTextView with the following params:

  • inputTextView.height == 32
  • font == .systemFont(ofSize: 16)
  • inputTextView.insets.left == 12

Tried to customize your "Advanced example" from example project but got random UI errors. Finally I got the appearance I need but the code is awful. When change the font the height of inputTextView is changed unpredictably, when I change insets for a text a placeholder's position looks strange and needs other set of insets and etc.

Could you please explain how to do that properly?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions