Andrew Overton

Results 50 comments of Andrew Overton

Hi everyone, thank you for patience. https://github.com/material-components/material-components-ios/commit/73e404888d1e98e930e62b68f864b60e264c32f3, which exposes `verticalDensity`, landed in develop earlier. It'll be in next week's release. It also includes some tweaks to the constants that will...

Hi @Fernandez-Aldo , `verticalDensity` is a property on `MDCBaseTextField`, which is the superclass of `MDCOutlinedTextField`. `MDCTextInputControllerOutlined` is part of the old text field implementation, which doesn't support variable densities.

Hi @Fernandez-Aldo, what are you interested in customizing? MDCBaseTextField is a subclass of UITextField, and MDCBaseTextArea is a subclass of UIControl that contains a UITextView. In other words, the text...

Hi @Fernandez-Aldo , This is my attempt at adapting your code to the new text fields: ``` containerScheme.colorScheme.primaryColor =.someColor containerScheme.colorScheme.errorColor = .someColor emailAddress.applyTheme(withScheme: containerScheme) emailAddress.leadingUnderlineLabel.numberOfLines = 0 emailAddress.leadingUnderlineLabel.lineBreakMode = NSLineBreakMode(rawValue:...

[These docs](https://github.com/material-components/material-components-ios/blob/develop/components/TextControls/README.md) should help you get started.

Hi @krakhotcko, It hasn't made it to a release yet, but we just deprecated `MDCTextField`. I encourage you to switch to our newer text field offerings. See [these docs](https://github.com/material-components/material-components-ios/blob/develop/components/TextControls/README.md) for...

`preferredContainerHeight` and `verticalDensity` are properties on TextControls text fields, not MDCTextField. To use those properties you'd need to use this component: https://github.com/material-components/material-components-ios/tree/develop/components/TextControls As opposed to this one: https://github.com/material-components/material-components-ios/tree/develop/components/TextFields

What happens if you try setting the borderStyle to `.none` from within the storyboard UI? I think this is the same issue as https://github.com/material-components/material-components-ios/issues/10184.

Hi @brunoccy, I encourage you to switch to our newer text field offering, specifically the `MDCOutlinedTextField`. I don't think it has this issue. To use it add `TextControls+OutlinedTextFields` and/or `TextControls+OutlinedTextFieldsTheming`...

In the new text field's the placeholder is distinct from what we call the text field's label. To set floating label text go like this: `textField.label.text = @"Label text";`