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

Windows: borderWidth should be changed 0 to 1 when borderColor is set

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: Release 7.0.0
    • Fix Version/s: Release 7.1.0
    • Component/s: Windows
    • Labels:
    • Story Points:
      3
    • Sprint:
      2017 Sprint 25 SDK, 2017 Sprint 26 SDK, 2018 Sprint 01 SDK

      Description

      According the description of Ti.UI.View.borderWidth,

      If borderColor is set without borderWidth, this value will be changed to 1 of the unit declared as 'ti.ui.defaultunit' in tiapp.xml descriptor.

      http://docs.appcelerator.com/platform/latest/#!/api/Titanium.UI.View-property-borderWidth

      Titanium Windows doesn't implement it, it remains 0 even after borderColor is set.

      var win = Ti.UI.createWindow();
       
      var view = Ti.UI.createView({
          width: 100, height: 100, backgroundColor: 'blue',
          borderColor: 'red'
      });
       
      win.add(view);
      win.open();
      

      Expected: Red border should be shown around blue view.

      Support for 'ti.ui.defaultunit' is split into TIMOB-25582

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                kiguchi Kota Iguchi
                Reporter:
                kiguchi Kota Iguchi
                Reviewer:
                Abir Mukherjee
                Tester:
                Samir Mohammed
              • Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

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

                    Git Source Code