mirror of
https://github.com/codex-storage/deluge.git
synced 2025-01-27 19:55:57 +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;
|
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 */
|
/* Login Window */
|
||||||
.x-deluge-login-window-icon {
|
.x-deluge-login-window-icon {
|
||||||
background: url('../icons/login.png') no-repeat 2px;
|
background: url('../icons/login.png') no-repeat 2px;
|
||||||
|
@ -57,6 +57,22 @@ deluge.ui = {
|
|||||||
deluge.statusbar = new Deluge.Statusbar();
|
deluge.statusbar = new Deluge.Statusbar();
|
||||||
deluge.toolbar = new Deluge.Toolbar();
|
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({
|
this.MainPanel = new Ext.Panel({
|
||||||
id: 'mainPanel',
|
id: 'mainPanel',
|
||||||
iconCls: 'x-deluge-main-panel',
|
iconCls: 'x-deluge-main-panel',
|
||||||
@ -64,7 +80,7 @@ deluge.ui = {
|
|||||||
tbar: deluge.toolbar,
|
tbar: deluge.toolbar,
|
||||||
items: [
|
items: [
|
||||||
deluge.sidebar,
|
deluge.sidebar,
|
||||||
deluge.details,
|
this.detailsPanel,
|
||||||
deluge.torrents
|
deluge.torrents
|
||||||
],
|
],
|
||||||
bbar: deluge.statusbar
|
bbar: deluge.statusbar
|
||||||
|
@ -36,15 +36,9 @@ Ext.namespace('Deluge.details');
|
|||||||
*/
|
*/
|
||||||
Deluge.details.DetailsPanel = Ext.extend(Ext.TabPanel, {
|
Deluge.details.DetailsPanel = Ext.extend(Ext.TabPanel, {
|
||||||
|
|
||||||
region: 'south',
|
|
||||||
id: 'torrentDetails',
|
id: 'torrentDetails',
|
||||||
split: true,
|
|
||||||
height: 210,
|
|
||||||
minSize: 100,
|
|
||||||
collapsible: true,
|
|
||||||
margins: '0 5 5 5',
|
|
||||||
activeTab: 0,
|
activeTab: 0,
|
||||||
|
|
||||||
initComponent: function() {
|
initComponent: function() {
|
||||||
Deluge.details.DetailsPanel.superclass.initComponent.call(this);
|
Deluge.details.DetailsPanel.superclass.initComponent.call(this);
|
||||||
this.add(new Deluge.details.StatusTab());
|
this.add(new Deluge.details.StatusTab());
|
||||||
|
Loading…
x
Reference in New Issue
Block a user