Open semihozkoroglu opened 3 days ago
i mean which need to calculate width like;
width = (DotGraphic.size + dotSpacing) * item count
to use as wrap content
DotsIndicator(
modifier = Modifier
.width(12.dp * feeds.size)
.align(Alignment.CenterStart),
dotCount = feeds.size,
dotSpacing = 4.dp,
type = SpringIndicatorType(
dotsGraphic = DotGraphic(
size = 8.dp,
color = BlueMiddle
), selectorDotGraphic = DotGraphic(8.dp, color = Primary)
),
pagerState = pagerState
)
Please remove fillMaxWidth of LazyRow inside Box element because i couldn't align left side of page as wrapped content so i need to use fixed width to align right in page.