Skip to content
Browse files

Android support (tested on android 2.3+)

  • Loading branch information...
1 parent 0f2d584 commit 4e42c0ea47618a9bbd1bd6d106ca40f34ea6fe50 Xevi committed Mar 27, 2012
Showing with 9 additions and 3 deletions.
  1. +4 −1 slider_menu/view/Main.js
  2. +1 −0 slider_menu/view/MainWrapper.js
  3. +4 −2 slider_menu/view/Menu.js
View
5 slider_menu/view/Main.js
@@ -18,7 +18,10 @@ Ext.define('SliderMenu.view.Main', {
config: {
docked: 'left',
- style: 'width: 100%; opacity: 1;',
+ width: '100%',
+ height: '100%',
+
+ style: 'opacity: 1; z-index: 1',
layout: 'card',
menuButtonIcon: 'more',
View
1 slider_menu/view/MainWrapper.js
@@ -17,6 +17,7 @@ Ext.define('SliderMenu.view.MainWrapper', {
config: {
layout: 'card',
+ style: 'opacity: 1;',
activeView: null,
title: 'xxxxxxxxxxxxxxxxx', //it's a hack to sets title width
View
6 slider_menu/view/Menu.js
@@ -19,9 +19,11 @@ Ext.define('SliderMenu.view.Menu', {
config: {
//Menu is on top left and z-index of 0 (hidden when menu is not slided)
- style: 'position: absolute; top: 0; left: 0; height: 100%;' +
- 'z-index: 0',
+ style: 'position: absolute; top: 0; left: 0; z-index: 0',
+ width: '100%',
+ height: '100%',
+
//By default title sets to 'Slider Menu'
title: 'Slider Menu', //You can change it using menu.setTitle('new title');

0 comments on commit 4e42c0e

Please sign in to comment.
Something went wrong with that request. Please try again.