Fix #1890 : WebUI: Column in files and peers view could use some spacing

Also fixed the SpinnerGroup to no longer show horizontal scrollbar and added
vertical scrolling to detailstab.
This commit is contained in:
Calum Lind 2012-11-24 16:10:15 +00:00
parent ea75cfb6d7
commit 42e33d452e
4 changed files with 59 additions and 12 deletions

View File

@ -241,10 +241,57 @@ dl.singleline dd {
} }
/* Files TreeGrid */ /* Files TreeGrid */
.x-treegrid-root-table {
border-right: 1px solid;
}
.x-treegrid-root-node {
overflow: auto;
}
.x-treegrid-hd-hidden {
visibility: hidden;
border: 0;
width: 0;
}
.x-treegrid-col { .x-treegrid-col {
border-bottom: 1px solid;
height: 20px;
overflow: hidden;
vertical-align: top;
-o-text-overflow: ellipsis;
text-overflow: ellipsis;
white-space: nowrap;
}
.x-treegrid-text {
padding-left: 4px;
-moz-user-select: none;
-khtml-user-select: none;
}
.x-treegrid-resizer {
border-left:1px solid;
border-right:1px solid;
position:absolute;
left:0;
top:0;
}
.x-treegrid-header-inner {
overflow: hidden; overflow: hidden;
} }
.x-treegrid-root-table,
.x-treegrid-col {
border-color: #ededed;
}
.x-treegrid-resizer {
border-left-color:#555;
border-right-color:#555;
}
/* Options Tab Styles */ /* Options Tab Styles */
.x-deluge-options-label { .x-deluge-options-label {

View File

@ -36,7 +36,7 @@ Deluge.details.DetailsTab = Ext.extend(Ext.Panel, {
title: _('Details'), title: _('Details'),
fields: {}, fields: {},
autoScroll: true,
queuedItems: {}, queuedItems: {},
oldData: {}, oldData: {},

View File

@ -34,7 +34,6 @@ Deluge.details.FilesTab = Ext.extend(Ext.ux.tree.TreeGrid, {
title: _('Files'), title: _('Files'),
autoScroll: true,
rootVisible: false, rootVisible: false,
columns: [{ columns: [{

View File

@ -38,6 +38,7 @@ Ext.ux.form.SpinnerGroup = Ext.extend(Ext.form.CheckboxGroup, {
// private // private
defaultType: 'spinnerfield', defaultType: 'spinnerfield',
anchor: '98%',
// private // private
groupCls: 'x-form-spinner-group', groupCls: 'x-form-spinner-group',