Details

    • Type: Bug
    • Status: Closed
    • Resolution: Cannot Reproduce
    • Affects Version/s: None
    • Component/s: Alloy, Titanium SDK & CLI
    • Labels:
    • Environment:

      Description

      I have a view named "pie" and I set a height, but when I get his height after postlayout event this value is different.

      Test device: Android 4.4 Samsung Core 2
      controller.xml

      <View id="board">
        <View id="pie"></View>
      </View>
      

      controller.tss

      "#pie":{
          height: 47
      }
      

      controller.js

      $.board.addEventListener('postlayout', function(e){
          Ti.API.info("## Pie height: " + $.pie.size.height);
      });
      

      Log:
      "## Pie height: 5"

        Attachments

          Activity

            People

            • Assignee:
              shossain Shak Hossain
              Reporter:
              amurcia Anna
            • Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Git Source Code