# TextFieldLineLimits.SingleLine

# TextFieldLineLimits.SingleLine

Artifact:[androidx.compose.foundation:foundation](https://developer.android.com/jetpack/androidx/releases/compose-foundation)  
[View Source](https://cs.android.com/search?q=file:androidx/compose/foundation/text/input/TextFieldLineLimits.kt+class:androidx.compose.foundation.text.input.TextFieldLineLimits.SingleLine)  
Added in[1.7.0](https://developer.android.com/jetpack/androidx/releases/compose-foundation#1.7.0)
Common/All
  - Cmn  

  ```
  object TextFieldLineLimits.SingleLine : TextFieldLineLimits
  ```

*** ** * ** ***

The text field is always a single line tall, ignores newlines in the text, and scrolls horizontally when the text overflows.

## Summary

|                                   ### Public functions                                   |
|------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------|-----|
| `open `[String](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html) | [toString](https://developer.android.com/reference/kotlin/androidx/compose/foundation/text/input/TextFieldLineLimits.SingleLine#toString())`()` | Cmn |

## Public functions

### toString

Cmn  

```
open fun toString(): String
```