Titanium JIRA Archive
Alloy (ALOY)

[ALOY-1089] Alloy support for Windows toolbar[] attribute

GitHub Issuen/a
TypeNew Feature
Resolution Date2014-10-10T02:02:18.000+0000
Affected Version/sn/a
Fix Version/sAlloy 1.7.0
LabelsIOS, TCSupport, Window, alloy, toolbar
ReporterThomas Neerup
AssigneeTim Poulsen


It would be very nice to have direct support for the Window.toolbar[] attribute in Alloy Something like:


  1. Shuo Liang 2014-06-26

    Alloy support toolbar attribute, likeL
           <Window id="win">
               <Toolbar platform="ios" bottom="0" borderTop="true" borderBottom="false">
                       <Button id="send" title="Send" style="Ti.UI.iPhone.SystemButtonStyle.DONE" />
                       <Button id="camera" systemButton="Ti.UI.iPhone.SystemButton.CAMERA" />
                       <Button id="cancel" systemButton="Ti.UI.iPhone.SystemButton.CANCEL" />
    You can read it from document http://docs.appcelerator.com/platform/latest/#!/api/Titanium.UI.iOS.Toolbar
  2. 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
  3. Mauro Parra-Miranda 2014-07-18

    [~tlukasavage]: The original reporter was [~thomas.neerup@eg.dk]
  4. 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!
  5. 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.
  6. Tim Poulsen 2014-10-09

    Shifting of text field upon text entry is due to linked ticket (SDK issue, not Alloy)
  7. Feon Sua Xin Miao 2014-10-10

    PR merged.

JSON Source