toggle menu
Koala Plot Core
0.6.0
common
switch theme
search in API
Koala Plot Core
/
io.github.koalaplot.core.util
/
ResponsiveText
Responsive
Text
@
Composable
fun
ResponsiveText
(
text
:
String
,
modifier
:
Modifier
=
Modifier
,
style
:
TextStyle
=
LocalTextStyle.current
,
maxLines
:
Int
=
Int.MAX_VALUE
,
ellipsis
:
Boolean
=
false
)
A Text composable that will auto-scale the font size up and down to fit in the containing element.