PDA

View Full Version : How to left align the navigation view title



mpasumarthi
11 Aug 2012, 2:30 AM
Hi,

Need help on Navigation View. How do i left align the title of navigationview.

Regards,
Manoj

sword-it
12 Aug 2012, 11:53 PM
Hi!

you may use css styles to adjust your needs.

For example:-


var view = Ext.create('Ext.NavigationView', {
fullscreen: true,
items: [{
title: '<p style="margin-right:800px;">First</p>'
}]
});



Output:-
37887

mpasumarthi
13 Aug 2012, 9:15 AM
sword-it (http://www.sencha.com/forum/member.php?427588-sword-it),

Thank you. It works perfectly.

Regards,
Manoj