astonius
astonius

Reputation: 101

Remove justification between title and tools on Ext.panel.Header

Using ExtJS 5.0, I have a panel with a Header that contains a title and tools. By default, the header left justifies the title then right justifies the tools, but I want to left justify the tools next to the title. I have tried floating the tools, but this does not work. Any suggestions?

Upvotes: 0

Views: 207

Answers (1)

Krzysztof
Krzysztof

Reputation: 16150

Just change flex property of title:

title: {
    text: 'Title',
    flex: undefined
}

Working sample: http://jsfiddle.net/5y2K3/1/

Upvotes: 2

Related Questions