This repository was archived by the owner on Dec 15, 2022. It is now read-only.
This repository was archived by the owner on Dec 15, 2022. It is now read-only.
Underlyne style #102
Open
Description
If you put two AnimatedTextInput controls on the same screen and if all has the same custom style
textinput2.style = LoginTextInputStyle()
textInput1.style = LoginTextInputStyle()
textInput1.backgroundColor = .yellow
textinput2.backgroundColor = .green
textInput3.style = LoginTextInputStyle()
textInput3.backgroundColor = .red
where line height is defined in LoginTextInputStyle.
struct LoginTextInputStyle: AnimatedTextInputStyle {
...
var lineHeight: CGFloat = 3
}
Style has been applied, but line height is correct only for the first text input, on others it is 0,5.
If apply custom style is moved to viewDidAppear, all of the text inputs has line height 0,5.
Metadata
Metadata
Assignees
Labels
No labels