PDA

View Full Version : [CLOSED] [PR1] Toolbar titles still not centering properly.



jay@moduscreate.com
11 Oct 2011, 10:33 AM
I'm showing buttons programmatically, and calling getToolbar().setTitle('new title');

Jamie Avins
11 Oct 2011, 10:40 AM
You should currently use a NavigationBar when you want a centered Title which will account for buttons ellipsis automatically.

jay@moduscreate.com
11 Oct 2011, 10:42 AM
OK - then should we be using "dock" or "docked" ?

The docs: http://moduscreate.com/i/2011-10-11_1441.png

Jamie Avins
11 Oct 2011, 10:46 AM
It will be 'dock', but the backwards compat for 'docked' seems to have some issues.

TommyMaintz
11 Oct 2011, 12:36 PM
Also, it is recommended not to use dockedItems anymore. Instead you should just put docked items in the regular items collection.

rakagod
22 Oct 2011, 12:30 PM
It will be 'dock', but the backwards compat for 'docked' seems to have some issues.

The documentation for Ext.NavigationBar only shows the element "docked" under Configs; there is no 'dock'.