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

Windows: Label backgroundColor cut through border with radius

    Details

    • Type: Bug
    • Status: Closed
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: Release 5.3.0
    • Fix Version/s: Release 5.3.0
    • Component/s: Windows
    • Labels:
    • Story Points:
      5
    • Sprint:
      2016 Sprint 10 SDK

      Description

      Label doesn't render backgroundColor correctly when use with borderRadius. It's like background "cut through" the border (see screenshot).

      var win = Ti.UI.createWindow({ backgroundColor: 'white' });
      var view = Ti.UI.createLabel({
          text: "ABC",
          color: "#C41230",
          borderRadius: 30,
          borderWidth: 2,
          borderColor: "#C41230",
          backgroundColor: "#F2D0D6",
          textAlign: "center",
          width: 100
      });
      win.add(view);
      win.open();
      

      *actual*

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                cwilliams Christopher Williams
                Reporter:
                kiguchi Kota Iguchi
                Tester:
                Josh Longton
              • Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

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

                    Git Source Code