View Full Version : NavigationBar displays on left for dock top

11 Apr 2012, 2:33 PM
I have defined a NavigationView in designer with a NavigationBar explicitly declared so I can add additional buttons.

When I selected docked=top (the default for designer) the navigation bar appears on the left side of the view and not the top.

Behaviour persistant with current update this morning - event when ceating a NavigationView without any items.

Ext.define('myApp.view.myNav', {
extend: 'Ext.navigation.View',
alias: 'widget.myNav',
requires: [
], config: {
autoDestroy: false,
items: [
xtype: 'myList',
title: 'List'
navigationBar: {
items: [
xtype: 'button',
hidden: true,
itemId: 'searchButton',
ui: 'plain',
iconCls: 'search',
iconMask: true,
align: 'right'

11 Apr 2012, 3:57 PM
I can't reproduce this.

Can you give us the steps to reproduce?

11 Apr 2012, 4:12 PM
Just created a new Touch project and noticed that it represents the NavigationBar correctly. It must be due to the fact that the Touch Project I am using has been upgraded over the past month or so with updates from Sencha. Something must have been retained from a previous version in the project I am using.

I'll look at porting everything across to a new Touch Project to fix this.

11 Apr 2012, 4:38 PM
You're probably right that it won't happen in future versions and that its due to upgrades during the beta cycle.

If you don't want to worry about migrating the whole project, we'll gladly take a look at it. Send it to designer . feedback at sencha.com.