[TIMOB-14972] iOS: Grouped TableView - Not able to calculate height
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Open |
Resolution | Unresolved |
Affected Version/s | Release 3.1.2 |
Fix Version/s | n/a |
Components | iOS |
Labels | Grouped, TableView, autolayout, height, ios7 |
Reporter | Thomas Neerup |
Assignee | Unknown |
Created | 2013-08-26T07:58:02.000+0000 |
Updated | 2018-02-28T20:03:23.000+0000 |
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
File | Date | Size |
---|---|---|
index.xml | 2013-08-26T07:58:05.000+0000 | 1097 |
Screen Shot 2013-08-26 at 09.53.46.png | 2013-08-26T07:58:04.000+0000 | 37082 |
This is also a problem in IOS6.
[~srahim], thoughts?
This is Apple bug. We may be able to create a workaround, but it is post-3.1.3.
Moving into 3.2.1 due to lack of remaining bandwidth for 3.2.0
3.4.0 is moved forward, and 3.5.0 is taking its place in the calendar.
Any work around for this? Still seeing this in newest update on iOS 8 (and iOS 9 too)