Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[BottomNavigation] Support titlePositionAdjustment (#6721)
UITabBarItem's `titlePositionAdjustment` property allows individual
items to have the title position adjusted slightly. This change attempts to match the
behavior of UITabBar as closely as possible:
* RTL does not flip the UIOffset values automatically. Clients need to make that change.
* Horizontal offsets do not apply when the title and icon are arranged "vertically".
Closes #4446
- Loading branch information
Robert Moore
committed
Feb 28, 2019
1 parent
50307bb
commit 60c60b3
Showing
8 changed files
with
107 additions
and
3 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
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
Binary file added
BIN
+21.1 KB
...napshotTests/testTitlePositionAdjustmentJustifiedAdjacentCompactLTR_11_2@2x.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+20.5 KB
...napshotTests/testTitlePositionAdjustmentJustifiedAdjacentCompactRTL_11_2@2x.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+18.6 KB
...napshotTests/testTitlePositionAdjustmentJustifiedAdjacentRegularLTR_11_2@2x.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+18.8 KB
...napshotTests/testTitlePositionAdjustmentJustifiedAdjacentRegularRTL_11_2@2x.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.