Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-15294] iOS7: Support navTintColor for Titanium.UI.iPad.Popover

GitHub Issuen/a
TypeNew Feature
PriorityHigh
StatusClosed
ResolutionWon't Fix
Resolution Date2013-11-12T22:57:17.000+0000
Affected Version/sRelease 3.1.3
Fix Version/sBacklog
ComponentsiOS
Labelsdev-investigate, ios7, triage
ReporterMostafizur Rahman
AssigneeVishal Duggal
Created2013-09-18T02:10:32.000+0000
Updated2017-03-22T17:29:14.000+0000

Description

Windows, Toolbar, etc all support it but not Popovers. Test case:
var win = Ti.UI.createWindow();

var button = Ti.UI.createButton({title: 'Open Popover!'});
button.addEventListener('click', function(e){
    popover.show({ view: button });
});
win.add(button);

var view = Ti.UI.createView({backgroundColor: 'green'});
view.add(Ti.UI.createLabel({text: "It's not easy being green."}));

var rightButton = Ti.UI.createButton({title: 'Robin'});
rightButton.addEventListener('click', function(e){
    alert("But green's the color of spring.");
});

var popover = Ti.UI.iPad.createPopover({
    width: 250,
    height: 100,
    title: 'Kermit',
    tintColor: 'white',
    rightNavButton: rightButton
});
popover.add(view);

win.open();

Comments

  1. Ingo Muschenetz 2013-10-08

    This will become a "Won't Fix"
  2. Vishal Duggal 2013-11-12

    Use contentView property set to Ti.UI.iOS.NavigationWindow and control navigation bar customizations from there
  3. David Bankier 2013-11-20

    Can you share sample code for the work around? Also it seems a long winded solution just to change the tint color.
  4. Lee Morris 2017-03-22

    Closing ticket as the issue will not fix and with reference to the above comments.

JSON Source