Uploaded image for project: 'Alloy'
  1. Alloy
  2. ALOY-1191

Star-rating image aspect ratio styles

    Details

    • Type: Bug
    • Status: Closed
    • Priority: None
    • Resolution: Invalid
    • Affects Version/s: Alloy 1.5.1
    • Fix Version/s: None
    • Component/s: Samples & Templates
    • Labels:
      None

      Description

      Steps:
      1. Run the https://github.com/appcelerator/alloy/tree/master/test/apps/advanced/theming_widgets sample app on iOS and Android and observe star-rating images

      Results: Rating images are stretched (see attached).
      Expected: Rating images appear at their native aspect ratios.

      Note: I think this is probably behaving as expected/designed as a test app, but still looks off. One solution is to remove either the height or width TSS style settings in the theme or widget's styles/star.tss file, so the image is resized proportionately,

      '.star': {
      	height:'32dp',
       	width: '10dp',
      	left:'8dp'
      }
      

        Attachments

          Activity

            People

            • Assignee:
              skypanther Tim Poulsen
              Reporter:
              tstatler Tim Statler
            • Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

                • Backbone Issue Sync is enabled for your project, but we do not have any synchronization info for this issue.

                  Git Integration