changeset 5913:5c12192a7720

Enable graphicsn in forward/back buttons on iOS
author snorthov
date Thu, 05 Dec 2013 17:19:51 -0500
parents 25b4801c0ad6
children f87309876fe2
files apps/samples/Ensemble8/src/app/java/ensemble/EnsembleApp.java
diffstat 1 files changed, 5 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/apps/samples/Ensemble8/src/app/java/ensemble/EnsembleApp.java	Thu Dec 05 17:16:07 2013 -0500
+++ b/apps/samples/Ensemble8/src/app/java/ensemble/EnsembleApp.java	Thu Dec 05 17:19:51 2013 -0500
@@ -171,13 +171,11 @@
         searchButton.setId("search");
         searchButton.setPrefSize(TOOL_BAR_BUTTON_SIZE, TOOL_BAR_BUTTON_SIZE);
         searchBox.setPrefWidth(200);
-        if (!IS_IOS) {
-            backButton.setGraphic(new Region());
-            forwardButton.setGraphic(new Region());
-            homeButton.setGraphic(new Region());
-            listButton.setGraphic(new Region());
-            searchButton.setGraphic(new Region());
-        }
+        backButton.setGraphic(new Region());
+        forwardButton.setGraphic(new Region());
+        homeButton.setGraphic(new Region());
+        listButton.setGraphic(new Region());
+        searchButton.setGraphic(new Region());
         toolBar.addLeftItems(navButtons,listButton);
         toolBar.addRightItems(searchBox);