-
Notifications
You must be signed in to change notification settings - Fork 162
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[fluent2 tokens] Add scrolling and faded edges to the SegmentedControl (
#1354) * Increase number of items in demo * Add stackView to SegmentedControl * Clean up now redundant layout logic * Move autoresizing mask settings to inits and remove an outdated comment * Change distribution for unequal segments to proportionally * Start scrolling * Resize on rotate * Broken new constraints * Fix new constraints * Remove scroll indicators * Unset priority on horizontal constraints * Add static white layers * Dynamic white gradients * Switch to gradient mask * Spilt equal segments and fixed width * Fix layout lag * Remove old fade layers * Update hierarchy comment * Fix large text regression * Remove backgroundView * Remove CATransaction * Update demo * Change scrollView to let * Change gradientMaskLayer to let * Remove gradientMask view * Make view hierarchy dynamic * Update to scroll to selected button
- Loading branch information
Showing
3 changed files
with
233 additions
and
121 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.