tweak the widths so the ui can be used more easily on a resolution of 1024x768

This commit is contained in:
Damien Churchill 2009-06-01 21:27:23 +00:00
commit 3f525293ca
3 changed files with 34 additions and 16 deletions

View file

@ -71,14 +71,29 @@ input {
height: 19px; height: 19px;
} }
.x-deluge-status dd.downloaded, .x-deluge-status dd.uploaded, .x-deluge-status dd.share, .x-deluge-status dd.announce, .x-deluge-status dd.tracker_status, .x-deluge-status dd.active_time { .x-deluge-status dd.downloaded,
.x-deluge-status dd.uploaded,
.x-deluge-status dd.share,
.x-deluge-status dd.announce,
.x-deluge-status dd.tracker_status {
width: 200px; width: 200px;
margin-left: 100px;
} }
.x-deluge-status dd.downspeed, .x-deluge-status dd.upspeed, .x-deluge-status dd.eta, .x-deluge-status dd.pieces { .x-deluge-status dd.downspeed,
.x-deluge-status dd.upspeed,
.x-deluge-status dd.eta,
.x-deluge-status dd.pieces {
margin-left: 100px; margin-left: 100px;
} }
.x-deluge-status dd.active_time,
.x-deluge-status dd.seeding_time,
.x-deluge-status dd.seed_rank,
.x-deluge-status dd.time_added {
width: 100px;
}
.x-deluge-status form br { .x-deluge-status form br {
clear: left; clear: left;
} }
@ -228,4 +243,4 @@ input {
.x-highest-download { .x-highest-download {
background-image: url(/icons/highest.png); background-image: url(/icons/highest.png);
} }

View file

@ -19,34 +19,37 @@ Copyright:
The Free Software Foundation, Inc., The Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor 51 Franklin Street, Fifth Floor
Boston, MA 02110-1301, USA. Boston, MA 02110-1301, USA.
#
# In addition, as a special exception, the copyright holders give In addition, as a special exception, the copyright holders give
# permission to link the code of portions of this program with the OpenSSL permission to link the code of portions of this program with the OpenSSL
# library. library.
# You must obey the GNU General Public License in all respects for all of You must obey the GNU General Public License in all respects for all of
# the code used other than OpenSSL. If you modify file(s) with this the code used other than OpenSSL. If you modify file(s) with this
# exception, you may extend this exception to your version of the file(s), exception, you may extend this exception to your version of the file(s),
# but you are not obligated to do so. If you do not wish to do so, delete but you are not obligated to do so. If you do not wish to do so, delete
# this exception statement from your version. If you delete this exception this exception statement from your version. If you delete this exception
# statement from all source files in the program, then also delete it here. statement from all source files in the program, then also delete it here.
#
*/ */
Ext.deluge.details.StatusTab = Ext.extend(Ext.Panel, { Ext.deluge.details.StatusTab = Ext.extend(Ext.Panel, {
title: _('Status'), title: _('Status'),
autoScroll: true,
onRender: function(ct, position) { onRender: function(ct, position) {
Ext.deluge.details.StatusTab.superclass.onRender.call(this, ct, position); Ext.deluge.details.StatusTab.superclass.onRender.call(this, ct, position);
this.progressBar = this.add({ this.progressBar = this.add({
xtype: 'fullprogressbar', xtype: 'fullprogressbar',
cls: 'x-deluge-status-progressbar' cls: 'x-deluge-status-progressbar',
width: 1000
}); });
this.status = this.add({ this.status = this.add({
cls: 'x-deluge-status', cls: 'x-deluge-status',
id: 'deluge-details-status', id: 'deluge-details-status',
border: false, border: false,
width: 1000,
listeners: { listeners: {
'render': { 'render': {
fn: function(panel) { fn: function(panel) {

File diff suppressed because one or more lines are too long