mirror of
https://github.com/codex-storage/deluge.git
synced 2025-01-13 13:05:37 +00:00
Fix #1915 : Unable to stop the status bar from autohiding
This commit is contained in:
parent
8da618a4f2
commit
e8eb7a33f0
@ -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;
|
||||
|
@ -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
|
||||
|
@ -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());
|
||||
|
Loading…
x
Reference in New Issue
Block a user