[ALOY-699] Navbuttons in splitWindow markup
GitHub Issue | n/a |
---|---|
Type | Improvement |
Priority | Medium |
Status | Closed |
Resolution | Invalid |
Resolution Date | 2014-07-03T15:22:32.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Alloy 1.5.0 |
Components | Titanium SDK, XML |
Labels | Alloy, SplitWindow, qe-manualtest |
Reporter | Carter Lathrop |
Assignee | Feon Sua Xin Miao |
Created | 2013-06-11T13:32:50.000+0000 |
Updated | 2014-08-15T18:43:52.000+0000 |
Description
SplitWindow supports the same proxy properties as Window. The parser should be updated to support leftNavButton/rightNavButton, leftNavButtons/rightNavButtons, titleControl, and toolbar.
<Alloy>
<SplitWindow platform="ios" formFactor="tablet">
<LeftNavButton>
<Button>Click Me</Button>
</LeftNavButton>
<TitleControl>
<Label>Title</Label>
</TitleControl>
<RightNavButton>
<Button>Click Me</Button>
</RightNavButton>
<!-- The 'masterView' window -->
<Window>
<Label>This is the master</Label>
</Window>
<!-- The 'detailView' window -->
<Window>
<Label>This is the detail</Label>
</Window>
</SplitWindow>
</Alloy>
What's the workaround for this in the meantime? I'm not able to even get the Title for each SplitWindow Window to appear properly in my Alloy app. Am I doing something wrong? See here: http://developer.appcelerator.com/question/153972/unable-to-see-titletitlecontrol-in-splitwindow-windows
Here's the the proper way to implement navbuttons in splitWindow.
Please also note that SplitWindow must have exactly 2 children of one of the following types in any combination: *
Verified the sample code works as expected. TiSDK 3.4.0.v20140813022514 Appcelerator Studio 3.3.1.201408121314 CLI 3.4.0-dev Alloy 1.5.0-dev