Skip to content

Releases: SwiftKickMobile/SwiftUIMaterialTabs

New tab bar layout options

15 May 15:07
Compare
Choose a tag to compare

Improvements

  • Add two new configuration options to MaterialTabBar that can be useful when implementing custom tab labels:
    • fillAvailableSpace: Applicable when tab labels don't inherently fill the width of the tab bar. When true (the default), the label widths are expanded proportinally to fill the tab bar. When false, the labels are not expanded and centered horizontally within the tab bar.
    • spacing: The amount of horizontal spacing to use between tab labels. Primary and Secondary tabs should use the default spacing of 0 to form a continuous line across the bottom of the tab bar.

2.0.0

16 Feb 19:57
Compare
Choose a tag to compare
  • Add a context argument to the MaterialTabsScroll and StickyHeaderScroll view builders, providing useful metrics, such as the available safe height for content under the header.

Initial release

01 Feb 18:00
fc2bfe5
Compare
Choose a tag to compare

Title says it all