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

iOS: Grouped TableView - Not able to calculate height

    Details

    • Type: Bug
    • Status: Open
    • Priority: High
    • Resolution: Unresolved
    • Affects Version/s: Release 3.1.2
    • Fix Version/s: None
    • Component/s: iOS
    • Environment:

      Titanium Studio 3.1.2

      Description

      Problem
      When using style=GROUPED TableView with height=Ti.UI.SIZE, the height is calculated wrong, this works fine with style=PLAIN. See test case.

      Actual Result
      The height is calculated wrong

      Expected Result
      The height should be calculated right.

      Test case

      <Alloy>
      	<TabGroup>
      		<Tab title="one" id="tabone">
      			<Window backgroundColor="red" tabBarHidden="true">
      				<TableView  style="Titanium.UI.iPhone.TableViewStyle.GROUPED" top="0" height="Ti.UI.SIZE">
      					<TableViewSection >
      						<TableViewRow title="Row title" ></TableViewRow>
      						<TableViewRow title="Row title"></TableViewRow>
      					</TableViewSection>
      					<TableViewSection headerTitle="Header">
      						<TableViewRow title="Row title"></TableViewRow>
      					</TableViewSection>
      					<TableViewSection>
      						<TableViewRow title="Row title"></TableViewRow>
      						<TableViewRow title="Row title"></TableViewRow>
      					</TableViewSection>
      				</TableView>
      				<Toolbar platform="ios" bottom="0" borderTop="true" borderBottom="false">
      					<Items>
      						<Button id="send" title="Send" style="Ti.UI.iPhone.SystemButtonStyle.DONE" />
      						<FlexSpace/>
      						<Button id="camera" systemButton="Ti.UI.iPhone.SystemButton.CAMERA" />
      						<FlexSpace/>
      						<Button id="cancel" systemButton="Ti.UI.iPhone.SystemButton.CANCEL" />
      					</Items>
      				</Toolbar>
      			</Window>
      		</Tab>
      	</TabGroup>
      </Alloy>

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                thomas.neerup@eg.dk Thomas Neerup
              • Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:

                  Backbone Issue Sync

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

                    Git Integration