improve layout of chagesetpanel

This commit is contained in:
Sebastian Sdorra
2012-02-04 15:33:43 +01:00
parent 23f234d2cf
commit d2601b2989
2 changed files with 2 additions and 2 deletions

View File

@@ -56,7 +56,6 @@ Sonia.repository.ChangesetPanel = Ext.extend(Ext.Panel, {
var config = {
title: String.format(this.title, this.revision),
autoScroll: true,
bodyCssClass: 'x-panel-mc',
tbar: [{
text: this.commitLabel,
handler: this.showCommit,
@@ -70,6 +69,7 @@ Sonia.repository.ChangesetPanel = Ext.extend(Ext.Panel, {
handler: this.downloadRawDiff,
scope: this
}],
layout: 'fit',
bbar: ['->', this.repository.name, ':', this.revision],
items: [panel]
}

View File

@@ -78,7 +78,7 @@ Sonia.repository.CommitPanel = Ext.extend(Ext.Panel, {
var config = {
bodyCssClass: 'x-panel-mc',
padding: 10,
layout: 'fit',
autoScroll: true,
items: [this.commitPanel, this.diffPanel]
}