https://kotlinlang.org logo
#compose
Title
# compose
m

mgrazianodecastro

03/08/2023, 2:08 AM
is it possible to change the way the
TabRow
distributes the tabs on the available width? If I have two tabs, the default behavior is to have each filling haft of the available space, but I want to leave them as:
Copy code
--------------------------------
   |T1|    |T2|                 
--------------------------------
e

ephemient

03/08/2023, 12:06 PM
I think you'll have to build your own
TabRow
replacement to change that
oh, or
ScrollableTabRow
, which avoids making all tabs stretch to fill the width equally the way
TabRow
does
m

mgrazianodecastro

03/08/2023, 1:34 PM
Yeah, I think I will probably implement my own custom tabrow
Thanks
6 Views