-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Timob 9135: Added supported for tabsBackgroundColor for iOS5+ #2538
Changes from 3 commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -186,13 +186,17 @@ properties: | |
platforms: [android] | ||
|
||
- name: tabsBackgroundColor | ||
summary: Default background color for tabs, as a color name or hex triplet. | ||
summary: Default background color for inactive tabs, as a color name or hex triplet. | ||
description: | | ||
For information about color values, see the "Colors" section of <Titanium.UI>. | ||
|
||
A tab's [backgroundColor](Titanium.UI.Tab.backgroundColor) property takes precedence if set. | ||
|
||
On iOS, [backgroundColor](Titanium.UI.Tab.backgroundColor) property applies to all states and all tabs, not just inactive tabs. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. ok my mistake. I meant tabsBackgroundColor property applies to all tabs/all states There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. As of right now the tab.backgroundColor does not work on IOS There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Ok fixed. |
||
type: String | ||
platforms: [mobileweb] | ||
since: {iphone: "2.2.0", ipad: "2.2.0", mobileweb: "1.9.0"} | ||
osver: {ios: {min: "5.0"}} | ||
platforms: [iphone, ipad, mobileweb] | ||
|
||
- name: tabsBackgroundImage | ||
summary: Default background image for tabs. | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Docs need to state that this is supported on IOS version 5.0 or greater
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
On Mobile web the color precedence is tab.backgroundColor, tabGrp.activeTabBackgroundColor, tabGrp.tabsBackgroundColor.
On IOS the backgroundColor applies to all states and all tabs
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Talked with Bryan. The existing description looks good. Will make some modifications regarding iOS.