Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-16941

iOS: System Info icon size is different between toolbar / toolbar and a view

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: Release 3.2.3
    • Fix Version/s: Release 5.1.0
    • Component/s: iOS
    • Labels:
    • Environment:

      Titanium SDK 3.2.3.GA, iOS SDK 7.1

    • Story Points:
      5
    • Sprint:
      2015 Sprint 19 SDK

      Description

      Problem

      When info system button is added to anything other than toolbar/navbars, it appears distorted (see attached screenshot).

      In the following test case, you may notice that I created two info buttons, one for view, the other for toolbar. The one added to view has ' style : Ti.UI.iPhone.SystemButton.INFO_DARK ', which seems not acceptable. But accepting it may itself be a bug. However, it is the only possible way to add info system buttons to view and this feature is quite common everywhere. I'm afraid this distortion may cause Apple rejection.

      Test case

      ApplicationWindow.js

      //create component instance
      var self = Ti.UI.createWindow({
      	backgroundColor : '#ffffff',
      	tintColor : 'red'
      });
       
      var button1 = Titanium.UI.createButton({
      	bottom : 64,
      	left : 16,
      	style : Ti.UI.iPhone.SystemButton.INFO_DARK,
      });
      self.add(button1);
       
      var button2 = Titanium.UI.createButton({
      	systemButton : Ti.UI.iPhone.SystemButton.INFO_DARK,
      });
      var toolbar = Titanium.UI.iOS.createToolbar({
      	items : [button2],
      	bottom : 0,
      	borderTop : true,
      	borderBottom : true
      });
      self.add(toolbar); 
      self.open();
      

        Attachments

          Activity

            People

            • Assignee:
              hknoechel Hans Knöchel
              Reporter:
              dkcarmo Daniel Kunzler
              Reviewer:
              Chee Kiat Ng (Inactive)
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

                • Titanium SDK/CLI <> Titanium Mobile
                  Synced with:
                  TIMOB-18691
                  Sync status:
                  ERROR
                  Last received:
                  Last sent:

                  Git Integration