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

iOS: ProgressBar gets clipped in parent with height Ti.UI.SIZE

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: Release 5.2.0
    • Fix Version/s: Release 7.0.0
    • Component/s: iOS
    • Environment:

      SDK 5.2.0

    • Story Points:
      5
    • Sprint:
      2017 Sprint 17 SDK, 2017 Sprint 18 SDK, 2017 Sprint 19 SDK, 2017 Sprint 20 SDK, 2017 Sprint 21 SDK, 2017 Sprint 22 SDK, 2017 Sprint 23 SDK

      Description

      While building samples I noticed that if a ProgressBar is wrapped in a parent that has its height set to Ti.UI.SIZE it will be clipped as the following code and attached screenshot shows.

      var win = Ti.UI.createWindow({
        backgroundColor: 'white'
      });
       
      win.add(Ti.UI.createProgressBar({
        width: 250,
        value: 0.5,
        message: 'Half way there'
      }));
       
      var view = Ti.UI.createView({
        top: 100,
        height: Ti.UI.SIZE,
        backgroundColor: '#eee'
      });
      win.add(view);
       
      view.add(Ti.UI.createProgressBar({
        width: 250,
        value: 0.5,
        message: 'Half way there'
      }));
       
      win.open();
      

        Attachments

          Activity

            People

            • Assignee:
              vijaysingh Vijay Singh
              Reporter:
              fokkezb Fokke Zandbergen
              Reviewer:
              Hans Knöchel
            • Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

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

                  Git Source Code