Fixed
Status Update
Comments
re...@lunabee.com <re...@lunabee.com> #2
Any chance this will get dealt with relatively soon?
cl...@gmail.com <cl...@gmail.com> #3
Hello. No updated to share yet, sorry
an...@gmail.com <an...@gmail.com> #4
Hello, is it fixed in some new compose versions ? Thanks a lot
sa...@persgroep.net <sa...@persgroep.net> #5
Hello, is it fixed in some new compose versions ? Thanks a lot
se...@google.com <se...@google.com>
ap...@google.com <ap...@google.com> #6
val sheetState = rememberBottomSheetState(
initialValue = BottomSheetValue.Collapsed,
confirmStateChange = {
it != BottomSheetValue.Collapsed
})
val sheetScaffoldState = rememberBottomSheetScaffoldState(
bottomSheetState = sheetState
)
initialValue = BottomSheetValue.Collapsed,
confirmStateChange = {
it != BottomSheetValue.Collapsed
})
val sheetScaffoldState = rememberBottomSheetScaffoldState(
bottomSheetState = sheetState
)
se...@google.com <se...@google.com>
na...@google.com <na...@google.com> #7
Hi, nothing to share yet. We will update this issue when we get to it!
Description
Jetpack Compose version: 1.2.0-alpha06 Jetpack Compose component used: ScrollableTabRow Android Studio Build: Android Studio Bumblebee | 2021.1.1 Patch 2 Build #AI-211.7628.21.2111.8193401 Kotlin version: 1.6.10
Our design system requires custom tab padding between tabs and for the tab minimum width to be customized. Within the
ScrollableTabRow
, every tab has a constraint around a hard-coded minimum tab width, which disallows us from using the standardScrollableTabRow
composable.See the line:
I'm proposing that
minTabWidth
either be provided as an optional parameter on theScrollableTabRow
composable with an ability to not have a constraint set or that it hooks into the modifier.I'm also proposing that we have a separate, new
tabPadding
parameter so that we can customize the left and right padding of the view that is composed for the Tab. Currently, this is being created by theScrollableTabRow
for us and there is no way for us to customize it. It would be beneficial to allow developers to customize this.