Код: Выделить всё
fillMaxWidthВот дочерние элементы внутри LazyRow:
Код: Выделить всё
OutlinedButton(
modifier = modifier.fillMaxWidth(0.5f)
Я добился этого с помощью этого:
Код: Выделить всё
OutlinedButton(
modifier = modifier.width(LocalConfiguration.current.screenWidthDp.dp * buttonWidthPercentage)
Подробнее здесь: https://stackoverflow.com/questions/790 ... rizontal-c
Мобильная версия