Fix #1915 : Unable to stop the status bar from autohiding

This commit is contained in:
Calum Lind 2012-01-06 04:11:34 +00:00
parent 8da618a4f2
commit e8eb7a33f0
3 changed files with 32 additions and 8 deletions

View File

@ -125,6 +125,20 @@ dl.singleline dd {
width: auto;
}
.detailsPanel .x-panel-header {
height: 0;
padding: 0;
border: 0;
}
.detailsPanel .x-tool {
height: 15px;
z-index: 1;
position: fixed;
right: 0;
margin: 5px 10px;
}
/* Login Window */
.x-deluge-login-window-icon {
background: url('../icons/login.png') no-repeat 2px;

View File

@ -57,6 +57,22 @@ deluge.ui = {
deluge.statusbar = new Deluge.Statusbar();
deluge.toolbar = new Deluge.Toolbar();
this.detailsPanel = new Ext.Panel({
id: 'detailsPanel',
cls: 'detailsPanel',
region: 'south',
split: true,
height: 215,
minSize: 100,
collapsible: true,
margins: '0 5 5 5',
cmargins: '0 5 5 5',
layout: 'fit',
items: [
deluge.details
],
});
this.MainPanel = new Ext.Panel({
id: 'mainPanel',
iconCls: 'x-deluge-main-panel',
@ -64,7 +80,7 @@ deluge.ui = {
tbar: deluge.toolbar,
items: [
deluge.sidebar,
deluge.details,
this.detailsPanel,
deluge.torrents
],
bbar: deluge.statusbar

View File

@ -36,15 +36,9 @@ Ext.namespace('Deluge.details');
*/
Deluge.details.DetailsPanel = Ext.extend(Ext.TabPanel, {
region: 'south',
id: 'torrentDetails',
split: true,
height: 210,
minSize: 100,
collapsible: true,
margins: '0 5 5 5',
activeTab: 0,
initComponent: function() {
Deluge.details.DetailsPanel.superclass.initComponent.call(this);
this.add(new Deluge.details.StatusTab());