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

Windows Phone: Progressbar not respect width and not resize

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: Release 7.5.0
    • Fix Version/s: Release 8.1.0
    • Component/s: Windows
    • Labels:
      None
    • Environment:

      OS: Windows 10 Pro
      Emulator: Mobile Emulator 10.0.14393.0 720p 5 inch 1GB
      Studio: 4.8.0.201612050850
      appc 6.1.0
      Titanium SDK 6.1.0.v20170227120704

    • Story Points:
      8
    • Sprint:
      2019 Sprint 1, 2019 Sprint 3, 2019 Sprint 5

      Description

      Given the width of the progressbar is not respected.
      It is used the width of the "message" text as initial width and then is retained even if the text is updated with a longer one, making truncate the label displayed.

      var win = Ti.UI.createWindow();
       
      var prog = Ti.UI.createProgressBar({
      	top: 50,
          width: 240,
          min: 0,
          max: 100,
          value: 0,
          color: '#FFFFFF',
          message: 'Progress Label'
      });
      win.add(prog);
       
      var vv = Ti.UI.createView({
      	width: 240,
      	top: 100,
      	height: 10,
      	backgroundColor: "#FFF",
      });
      win.add(vv);
       
      var val = 0;
       
      win.addEventListener('open', function()
      {
      	setInterval(function()
      	{
      		val++;
      		
      		var lbl = 'Progress Label: ' + val + '%';
      		
      		prog.message = lbl;
      		prog.value = val;
      		
      	}, 500);
      });
       
      win.open();
      

        Attachments

          Activity

            People

            • Assignee:
              kiguchi Kota Iguchi
              Reporter:
              sandrolain Sandro Lain
              Reviewer:
              Gary Mathews
              Tester:
              Samir Mohammed
            • Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

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

                  Git Source Code