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

Windows: Incorrect size for tableview where height is set to Ti.UI.SIZE and rows have a set height

    Details

    • Type: Bug
    • Status: Closed
    • Priority: High
    • Resolution: Won't Fix
    • Affects Version/s: Release 6.0.0
    • Fix Version/s: None
    • Component/s: Windows
    • Environment:

      OS: Microsoft Windows 10 Pro 10.0.14393
      Appc core: 6.0.0-68
      Appc NPM: 4.2.8-9
      Ti SDK: 6.0.0.v20161107075927
      Lumia 550 10.0

    • Story Points:
      0
    • Sprint:
      2018 Sprint 16 SDK

      Description

      Description

      This is a regression from 5.5.1.GA

      When setting the height of a tableview to Ti.UI.SIZE and also setting the height of tableviewrows the tableview will be incorrectly sized.

      var _window = Ti.UI.createWindow();
      var table = Ti.UI.createTableView({
      	height: Ti.UI.SIZE,
      	width: Ti.UI.SIZE,
          data: [{title: 'Test1', height: 75}, {title: 'Test2', height: 75} , {title: 'Test3', height: 75}, {title: 'Test4', height: 75}]
      });
       
      _window.add(table);
      _window.open();
      

      Steps to reproduce
      1. Add the above code to an app.js
      2. Build for Windows platform
      Actual result

      The tableview is sized to be the height of one tableviewrow

      Expected result

      The tableview should be sized to fit the whole screen

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                kiguchi Kota Iguchi (Inactive)
                Reporter:
                eharris Ewan Harris
              • Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

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

                    Git Integration