Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-1368] tabview back button background image shrinks

GitHub Issuen/a
TypeBug
PriorityTrivial
StatusClosed
ResolutionFixed
Resolution Date2011-04-17T01:55:59.000+0000
Affected Version/sn/a
Fix Version/sBacklog
ComponentsiOS
Labelsios, leftnavbutton, navgroup
ReporterChris G
AssigneeReggie Seagraves
Created2011-04-15T02:50:33.000+0000
Updated2012-09-25T16:18:09.000+0000

Description

The tabview back button on top left, when i set its background image. it shrinks it so it shows up in the middle.

Image size is 97 x 31 png



function open_property_detail(oid)
{   var property_detail_win = Titanium.UI.createWindow({
        titlePrompt: ' ',
        barImage: 'images/title_bg.png',    
        backgroundColor:'#000000',
        backButtonTitleImage: 'images/back_btn.png',
        url:'view.js'
        //orientationModes: [Titanium.UI.PORTRAIT, Titanium.UI.LANDSCAPE_RIGHT, Titanium.UI.LANDSCAPE_LEFT]
    });
    property_detail_win.oid = oid;
    Titanium.UI.currentTab.open(property_detail_win,{animated:true});
}

Attachments

FileDateSize
back_btn.png2011-04-15T02:50:33.000+00002904
img_02191.PNG2011-04-15T02:50:33.000+0000148368

Comments

  1. Chris G 2011-04-15

    Happens in iphone, using 1.3.2, 1.3.2 and latest git

  2. Chris G 2011-04-15

    fixed in 1.5!!!

  3. Stephen Tramer 2011-04-15

    As per the ticket, resolved in 1.5.

  4. Mario Capocaccia 2011-04-15

    Not resolved (or regressed?) in 1.6.0

    backButtonTitleImage still insets the provided image within a standard unstyled back button

  5. Stephen Tramer 2011-04-15

    Pushing for a full investigation.

  6. Ygor Lemos 2012-09-25

    Please reopen this. Still happend on 2.1.3 RC

JSON Source