[ALOY-1089] Alloy support for Windows toolbar[] attribute
GitHub Issue | n/a |
---|---|
Type | New Feature |
Priority | Medium |
Status | Resolved |
Resolution | Fixed |
Resolution Date | 2014-10-10T02:02:18.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Alloy 1.7.0 |
Components | XML |
Labels | IOS, TCSupport, Window, alloy, toolbar |
Reporter | Thomas Neerup |
Assignee | Tim Poulsen |
Created | 2014-06-24T09:09:58.000+0000 |
Updated | 2014-10-23T19:47:51.000+0000 |
Description
It would be very nice to have direct support for the Window.toolbar[] attribute in Alloy Something like:Comments
- Shuo Liang 2014-06-26
Alloy support toolbar attribute, likeL
You can read it from document http://docs.appcelerator.com/platform/latest/#!/api/Titanium.UI.iOS.Toolbar<Alloy> <Window id="win"> <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> </Alloy>
- Thomas Neerup 2014-06-26 Hi Shuo... I know I can add a Toolbar to the button of my Window like You described, but that's not the same as setting the Window.toolbar[] array. When using the toolbar array, the toolbar is handled by the window, so when adding other components to the window, they won't overlap with the toolbar. It would be very nice to have direct support for the Window.toolbar[] attribute in Alloy
- Mauro Parra-Miranda 2014-07-18 [~tlukasavage]: The original reporter was [~thomas.neerup@eg.dk]
- Mauro Parra-Miranda 2014-07-18 Hello [~tlukasavage]! Do you mind to add this label to the bug? "TCSupport". I can't add it anymore :( Best Regards!
- Tim Poulsen 2014-10-08 PR https://github.com/appcelerator/alloy/pull/586 Functional test: Run the test/apps/ui/window_toolbar sample application for iOS. The resulting app has a toolbar with a text field and two buttons.
- Tim Poulsen 2014-10-09 Shifting of text field upon text entry is due to linked ticket (SDK issue, not Alloy)
- Feon Sua Xin Miao 2014-10-10 PR merged.