Skip to content

Commit

Permalink
[chore] #20 picker 3개의 weight에 관한 주석 작성
Browse files Browse the repository at this point in the history
  • Loading branch information
kamja0510 committed Jan 15, 2025
1 parent 1db0e47 commit ac19bf0
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,11 @@ fun BbangZipDatePicker(
)
}

// 3개 picker에 weight 부여해서 대충 피그마와 비슷하게 동적으로 되게 구현해봤는데 어떤가요..
Picker(
state = yearPickerState,
items = years,
modifier = Modifier.weight(0.4f),
modifier = Modifier.weight(1.2f),
startIndex = startYear,
visibleItemsCount = 5,
textModifier = Modifier.padding(8.dp),
Expand All @@ -85,7 +86,7 @@ fun BbangZipDatePicker(
items = days.value,
startIndex = startDay,
visibleItemsCount = 5,
modifier = Modifier.weight(0.3f),
modifier = Modifier.weight(0.8f),
textModifier = Modifier.padding(8.dp),
isCircular = false,
)
Expand Down

0 comments on commit ac19bf0

Please sign in to comment.